Recreate $WORKDIR instead /var/lib/slackpkg

This commit is contained in:
Matteo Rossini 2013-08-31 23:14:37 +02:00
parent 9eeb9fcbdd
commit 1147c77ae7
2 changed files with 4 additions and 4 deletions

View file

@ -1,5 +1,5 @@
Current - 29/Aug/2013 Current - 29/Aug/2013
- fixed a slackpkg bug that does not recreate /var/lib/slackpkg if it does not exists. - fixed a slackpkg bug that does not recreate $WORKDIR if it does not exists.
Version 0.9.5 - 28/Aug/2013 Version 0.9.5 - 28/Aug/2013
- fixed a problem with some compat32 packages - fixed a problem with some compat32 packages

View file

@ -8,8 +8,8 @@ fi
if [ "$SLACKPKGPLUS" = "on" ];then if [ "$SLACKPKGPLUS" = "on" ];then
if [ ! -e /var/lib/slackpkg ];then if [ ! -e "$WORKDIR" ];then
mkdir -p /var/lib/slackpkg mkdir -p "$WORKDIR"
fi fi
# Override the slackpkg getfile(). # Override the slackpkg getfile().
@ -373,7 +373,7 @@ if [ "$SLACKPKGPLUS" = "on" ];then
fi fi
done done
if [ /etc/slackpkgplus.conf -nt /var/lib/slackpkg/pkglist -a "$CMD" != "update" ];then if [ /etc/slackpkgplus.conf -nt $WORKDIR/pkglist -a "$CMD" != "update" ];then
echo echo
echo "NOTICE: remember to re-run 'slackpkg update' after modifing slackpkgplus.conf" echo "NOTICE: remember to re-run 'slackpkg update' after modifing slackpkgplus.conf"
echo echo