Open tonypartridge opened 3 years ago
download the file at: https://packagecloud.io/install/repositories/gyazo/gyazo-for-linux/script.deb.sh goto file location: cd filepath and run: sudo os=ubuntu dist=trusty ./script.deb.sh then: sudo apt-get install gyazo
@tonypartridge Thanks for your issue but script.deb.sh is provided by packagecloud.io. You can detect os and version via an environment variable, this is an example:
os=ubuntu dist=`cut --delimiter='.' -f1 /etc/debian_version` curl -s https://packagecloud.io/install/repositories/gyazo/gyazo-for-linux/script.deb.sh | sudo bash
You sure can, but for newer users would it not make more sense to pre-set them where possible? or detect the underlying OS opposed to OS Variable
Pull Request to wrap install script adding this behavior (detecting OS) are welcome 👍
Hi Guys,
Where is the script.deb.sh file located for a PR?
I want to add:
after
As a condition is all nice simple mapping :-)