summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xscripts/import-local-packages4
1 files changed, 3 insertions, 1 deletions
diff --git a/scripts/import-local-packages b/scripts/import-local-packages
index ae9a9f5c..70b4c365 100755
--- a/scripts/import-local-packages
+++ b/scripts/import-local-packages
@@ -7,5 +7,7 @@ mkdir -p $LOCAL_PKG_DIR
FILES=packages/*.deb
for f in $FILES
do
- cp $f $LOCAL_PKG_DIR
+ if [ -e "$f" ]; then
+ cp $f $LOCAL_PKG_DIR
+ fi
done