aboutsummaryrefslogtreecommitdiff
path: root/src/simplaret
diff options
context:
space:
mode:
Diffstat (limited to 'src/simplaret')
-rwxr-xr-xsrc/simplaret7
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