mirror of
https://github.com/zuno/slackpkgplus
synced 2025-01-13 20:01:04 +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
|
if echo $URLFILE | grep -q "^file://" ; then
|
||||||
URLFILE=${URLFILE:6}
|
URLFILE=${URLFILE:6}
|
||||||
|
if [ -f $URLFILE ];then
|
||||||
cp -v $URLFILE $2
|
cp -v $URLFILE $2
|
||||||
|
else
|
||||||
|
return 1
|
||||||
|
fi
|
||||||
else
|
else
|
||||||
$DOWNLOADER $2 $URLFILE
|
$DOWNLOADER $2 $URLFILE
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in a new issue