diff options
author | rhatto <rhatto@04377dda-e619-0410-9926-eae83683ac58> | 2007-02-08 18:44:27 +0000 |
---|---|---|
committer | rhatto <rhatto@04377dda-e619-0410-9926-eae83683ac58> | 2007-02-08 18:44:27 +0000 |
commit | ca94a2bd891c47503d628a9b10930dc7f2b9e69a (patch) | |
tree | 5de9c5936597e06ae454ab426480339376920bc5 /src | |
parent | 8d12f60f19e30d46b0dfbbd8415809b31a7f4075 (diff) | |
download | simplepkg-ca94a2bd891c47503d628a9b10930dc7f2b9e69a.tar.gz simplepkg-ca94a2bd891c47503d628a9b10930dc7f2b9e69a.tar.bz2 |
small change
git-svn-id: svn+slack://slack.fluxo.info/var/svn/simplepkg@158 04377dda-e619-0410-9926-eae83683ac58
Diffstat (limited to 'src')
-rwxr-xr-x | src/simplaret | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/simplaret b/src/simplaret index f306a11..aa5841a 100755 --- a/src/simplaret +++ b/src/simplaret @@ -411,7 +411,7 @@ function simplaret_purge { simplaret_set_storage_folder for file in `find $storage/ $mtime 2> /dev/null`; do - for extension in tgz asc meta txt; do + for extension in tgz asc meta txt slack-required; do if echo $file | grep -qe ".$extension$"; then rm $file fi @@ -775,7 +775,7 @@ function simplaret_install { # download and install a package # usage: simplaret_install <package-name> [--skip-checks] - local package root jail_arch jail_version slack_required dep dependency + local package root jail_arch jail_version slack_required dep dependency tmp root="/$ROOT" mkdir -p $root/var/log/setup/tmp @@ -950,8 +950,7 @@ function simplaret_solve_dep { if [ -z "$installed" ]; then if [ $check -ne 0 ]; then echo "$BASENAME: processing $1 dependency $pack" - SIMPLARET_CHILD=$SIMPLARET_CHILD ROOT=$root ARCH=$ARCH VERSION=$VERSION \ - simplaret --install $PACK + simplaret_install $PACK fi fi |