rorysenpai / apt-cyg

Automatically exported from code.google.com/p/apt-cyg
MIT License
0 stars 0 forks source link

Error if apt-cyg is renamed #4

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
After renaming 'apt-cyg' to 'apt', I got the following error during install
of a package:

/usr/bin/apt: line 378: apt-cyg: command not found

Guess it should invoke $0 instead?

(Works very well otherwise. Much more convenient than setup. Thanks!)

Original issue reported on code.google.com by andy.koppe on 7 Sep 2009 at 12:12

GoogleCodeExporter commented 8 years ago
I am accepting this because the suggested change is good practice, but running
apt-cyg as apt is not recommended because (1) the command syntax is not not
apt-compatible, just apt-inspired, and (2) I believe there is or was another 
cygwin
project named apt which uses a debian-style repository.  Thanks for the report 
:)

Original comment by sjung...@gmail.com on 9 Sep 2009 at 6:15

GoogleCodeExporter commented 8 years ago
If you are just looking to type less you can use a sym link

ln -s /usr/bin/cyg-apt /usr/bin/apt

Original comment by davidcroda on 1 Sep 2010 at 11:13

GoogleCodeExporter commented 8 years ago

Original comment by i...@skl.me on 23 Feb 2014 at 6:57