aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rwxr-xr-xsrc/jail-upgrade1
-rwxr-xr-xsrc/simplaret3
2 files changed, 3 insertions, 1 deletions
diff --git a/src/jail-upgrade b/src/jail-upgrade
index c44f32d..fffc099 100755
--- a/src/jail-upgrade
+++ b/src/jail-upgrade
@@ -57,7 +57,6 @@ function jail_upgrade {
elif [ "$SIMPLARET" == "swaret" ]; then
echo error: cant upgrade on $1: no such patch dir $patches_dir
fi
- return
fi
# optionally, search all packages in the repositories and apply a patch if:
diff --git a/src/simplaret b/src/simplaret
index 4f8a4cd..1cef677 100755
--- a/src/simplaret
+++ b/src/simplaret
@@ -514,6 +514,9 @@ function simplaret_get_jail_patches {
# grab patches from every other places
if [ "$CONSIDER_ALL_PACKAGES_AS_PATCHES" == "1" ]; then
+ # TODO: for sugested in `simplaret_search -formatted`; do
+ # and also think yet some more about this scheme... does ROOT/patches
+ # should be dealed as a PATCHES repository?
for sugested in `simplaret_search patches -formatted | grep -v patches`; do
simplaret_search_and_download_patch
done