summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xcheckpkg2
1 files changed, 2 insertions, 0 deletions
diff --git a/checkpkg b/checkpkg
index 115306e..e1667b9 100755
--- a/checkpkg
+++ b/checkpkg
@@ -69,6 +69,8 @@ for _pkgname in ${pkgname[@]}; do
cp `echo $pkgurl | sed 's#^file://##'` .
elif [ -f $PKGDEST/$oldpkg ]; then
cp $PKGDEST/$oldpkg .
+ elif [ -f $STARTDIR/$oldpkg ]; then
+ cp $STARTDIR/$oldpkg .
else
wget --quiet $pkgurl
fi