mirror of
https://github.com/zuno/slackpkgplus
synced 2024-12-27 09:58:34 +01:00
Recreate $WORKDIR instead /var/lib/slackpkg
This commit is contained in:
parent
9eeb9fcbdd
commit
1147c77ae7
2 changed files with 4 additions and 4 deletions
|
@ -1,5 +1,5 @@
|
|||
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
|
||||
- fixed a problem with some compat32 packages
|
||||
|
|
|
@ -8,8 +8,8 @@ fi
|
|||
|
||||
if [ "$SLACKPKGPLUS" = "on" ];then
|
||||
|
||||
if [ ! -e /var/lib/slackpkg ];then
|
||||
mkdir -p /var/lib/slackpkg
|
||||
if [ ! -e "$WORKDIR" ];then
|
||||
mkdir -p "$WORKDIR"
|
||||
fi
|
||||
|
||||
# Override the slackpkg getfile().
|
||||
|
@ -373,7 +373,7 @@ if [ "$SLACKPKGPLUS" = "on" ];then
|
|||
fi
|
||||
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 "NOTICE: remember to re-run 'slackpkg update' after modifing slackpkgplus.conf"
|
||||
echo
|
||||
|
|
Loading…
Reference in a new issue