mirror of
https://github.com/zuno/slackpkgplus
synced 2025-01-27 19:58:02 +01:00
shorter pause after some warning
suppress some check-updates warning when run as non-root user
This commit is contained in:
parent
623bb03cfd
commit
fe3c05db4c
1 changed files with 2 additions and 5 deletions
|
@ -566,7 +566,6 @@ if [ "$SLACKPKGPLUS" = "on" ];then
|
||||||
echo " 'slackpkg file-search' will not work on that"
|
echo " 'slackpkg file-search' will not work on that"
|
||||||
echo " repository"
|
echo " repository"
|
||||||
echo
|
echo
|
||||||
sleep 3
|
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
@ -811,7 +810,7 @@ if [ "$SLACKPKGPLUS" = "on" ];then
|
||||||
echo " in /etc/slackpkg/slackpkg.conf or use slackpkg with"
|
echo " in /etc/slackpkg/slackpkg.conf or use slackpkg with"
|
||||||
echo " '-checkgpg=off' : 'slackpkg -checkgpg=off install packge'"
|
echo " '-checkgpg=off' : 'slackpkg -checkgpg=off install packge'"
|
||||||
echo
|
echo
|
||||||
sleep 5
|
sleep 3
|
||||||
fi
|
fi
|
||||||
rm $2-tmp-$PREPO
|
rm $2-tmp-$PREPO
|
||||||
echo
|
echo
|
||||||
|
@ -1855,7 +1854,6 @@ if [ "$SLACKPKGPLUS" = "on" ];then
|
||||||
echo
|
echo
|
||||||
echo "NOTICE: pkglist is older than 24h; you are encouraged to re-run 'slackpkg update'"
|
echo "NOTICE: pkglist is older than 24h; you are encouraged to re-run 'slackpkg update'"
|
||||||
echo
|
echo
|
||||||
sleep 1
|
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
if [ "$CMD" != "update" -a "$CMD" != "check-updates" ];then
|
if [ "$CMD" != "update" -a "$CMD" != "check-updates" ];then
|
||||||
|
@ -1863,7 +1861,6 @@ if [ "$SLACKPKGPLUS" = "on" ];then
|
||||||
echo
|
echo
|
||||||
echo "NOTICE: remember to re-run 'slackpkg update' after modifying slackpkgplus.conf"
|
echo "NOTICE: remember to re-run 'slackpkg update' after modifying slackpkgplus.conf"
|
||||||
echo
|
echo
|
||||||
sleep 5
|
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
@ -2291,7 +2288,7 @@ if [ "$SLACKPKGPLUS" = "on" ];then
|
||||||
else
|
else
|
||||||
echo "Slackpkg: No updated packages since last check."
|
echo "Slackpkg: No updated packages since last check."
|
||||||
# Suppress the "pkglist is older than 24h" notice
|
# Suppress the "pkglist is older than 24h" notice
|
||||||
touch $WORKDIR/pkglist
|
touch $WORKDIR/pkglist 2>/dev/null
|
||||||
fi
|
fi
|
||||||
|
|
||||||
cleanup
|
cleanup
|
||||||
|
|
Loading…
Add table
Reference in a new issue