index : devtools32 | |
Archlinux32 fork of devtools | gitolite user |
summaryrefslogtreecommitdiff |
author | Jason Chu <jason@archlinux.org> | 2005-02-24 04:32:43 +0000 |
---|---|---|
committer | Jason Chu <jason@archlinux.org> | 2005-02-24 04:32:43 +0000 |
commit | f1fe91af29af5215b29faa3a18031a37a48e0b25 (patch) | |
tree | 7caa23ccad17004a5c40719f6bf30c84e1ef063a /checkpkg | |
parent | 15d5e52b95f2330f9583ecb599a012b985989c56 (diff) |
-rw-r--r-- | checkpkg | 6 |
@@ -33,7 +33,11 @@ if [ "$oldpkg" = "$pkgname-$pkgver-$pkgrel.pkg.tar.gz" ]; then fi if [ ! -f $oldpkg ]; then - wget $pkgurl + if echo $oldpkg | grep "^file:///" > /dev/null 2>&1; then + cp `echo $oldpkg | sed 's#^file://##'` . + else + wget $pkgurl + fi fi tar tzf $oldpkg > filelist-old |