diff --git a/ChangeLog.txt b/ChangeLog.txt index e19b760..607a8c9 100644 --- a/ChangeLog.txt +++ b/ChangeLog.txt @@ -1,6 +1,10 @@ +Current - 29/Aug/2013 + - fixed a slackpkg bug that does not recreate /var/lib/slackpkg if it does not exists. + Version 0.9.5 - 28/Aug/2013 - fixed a problem with some compat32 packages - fixed a issue about packages selection with the official slackware repository + (thanks to phenixia2003) Version 0.9.4 - 27/Aug/2013 - fixed a issue when a pattern is used multiple times in argument diff --git a/src/ChangeLog.txt b/src/ChangeLog.txt index 1ca88bc..607a8c9 100644 --- a/src/ChangeLog.txt +++ b/src/ChangeLog.txt @@ -1,3 +1,6 @@ +Current - 29/Aug/2013 + - fixed a slackpkg bug that does not recreate /var/lib/slackpkg if it does not exists. + Version 0.9.5 - 28/Aug/2013 - fixed a problem with some compat32 packages - fixed a issue about packages selection with the official slackware repository diff --git a/src/slackpkgplus.sh b/src/slackpkgplus.sh index 04f1442..dc877c3 100755 --- a/src/slackpkgplus.sh +++ b/src/slackpkgplus.sh @@ -8,6 +8,10 @@ fi if [ "$SLACKPKGPLUS" = "on" ];then + if [ ! -e /var/lib/slackpkg ];then + mkdir -p /var/lib/slackpkg + fi + # Override the slackpkg getfile(). # The new getfile() download all file needed from all defined repositories # then merge all in a format slackpkg-compatible