Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 25a51eb commit ee3f7b8Copy full SHA for ee3f7b8
apt-cyg
@@ -1,3 +1,4 @@
1
+
2
#!/bin/bash
3
4
# apt-cyg: install tool for cygwin similar to debian apt-get
@@ -323,12 +324,18 @@ case "$command" in
323
324
exit 1
325
fi
326
echo Found package $pkg
-
327
328
# download and unpack the bz2 file
329
330
# pick the latest version, which comes first
331
install=`cat "release/$pkg/desc" | awk '/^install: / { print $2; exit }'`
332
333
+ if test "-$install-" = "--"
334
+ then
335
+ echo "Could not find \"install\" in package description: obsolete package?"
336
+ exit 1
337
+ fi
338
339
file=`basename $install`
340
cd "release/$pkg"
341
wget -nc $mirror/$install
0 commit comments