mirror of
https://github.com/zuno/slackpkgplus
synced 2024-12-26 09:58:43 +01:00
Fix an error when a folder is missing in the slackware mirror (as /testing).
This commit is contained in:
parent
ca37955286
commit
0c62384c2f
1 changed files with 5 additions and 1 deletions
|
@ -84,7 +84,11 @@ if [ "$SLACKPKGPLUS" = "on" ];then
|
|||
|
||||
if echo $URLFILE | grep -q "^file://" ; then
|
||||
URLFILE=${URLFILE:6}
|
||||
cp -v $URLFILE $2
|
||||
if [ -f $URLFILE ];then
|
||||
cp -v $URLFILE $2
|
||||
else
|
||||
return 1
|
||||
fi
|
||||
else
|
||||
$DOWNLOADER $2 $URLFILE
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue