aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rwxr-xr-xsrc/simplaret3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/simplaret b/src/simplaret
index d3dc24f..01fed4f 100755
--- a/src/simplaret
+++ b/src/simplaret
@@ -514,7 +514,6 @@ function simplaret_search_and_download_patch {
# check if the patch was already downloaded
if echo "$DOWNLOADED_PATCHES" | grep -q " $ARCH:$VERSION:$sugested "; then
echo "jail $root needs package $sugested, but it's already downloaded, skipping donwload"
- return
fi
# search if its installed in the jail
@@ -562,7 +561,7 @@ function simplaret_search_and_download_patch {
# finally, get the package
if [ "$get" == "yes" ]; then
- if [ "$S_UPGRADE" == "1" ]; then
+ if [ "$IS_UPGRADE" == "1" ]; then
simplaret_install $sugested
else
simplaret_get $sugested