aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrhatto <rhatto@04377dda-e619-0410-9926-eae83683ac58>2007-02-08 18:44:27 +0000
committerrhatto <rhatto@04377dda-e619-0410-9926-eae83683ac58>2007-02-08 18:44:27 +0000
commitca94a2bd891c47503d628a9b10930dc7f2b9e69a (patch)
tree5de9c5936597e06ae454ab426480339376920bc5
parent8d12f60f19e30d46b0dfbbd8415809b31a7f4075 (diff)
downloadsimplepkg-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
-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