diff options
author | rhatto <rhatto@04377dda-e619-0410-9926-eae83683ac58> | 2007-01-28 21:06:34 +0000 |
---|---|---|
committer | rhatto <rhatto@04377dda-e619-0410-9926-eae83683ac58> | 2007-01-28 21:06:34 +0000 |
commit | 5162249f252036c9a01848bc2853adac71539bf3 (patch) | |
tree | 3d88ecbe45d78d025453fe8ec2536f034fb03956 /src | |
parent | 555464d3c93cccdc2ad7e4f1c603940fd0d57631 (diff) | |
download | simplepkg-5162249f252036c9a01848bc2853adac71539bf3.tar.gz simplepkg-5162249f252036c9a01848bc2853adac71539bf3.tar.bz2 |
simplepkg 0.4.9pre14
git-svn-id: svn+slack://slack.fluxo.info/var/svn/simplepkg@131 04377dda-e619-0410-9926-eae83683ac58
Diffstat (limited to 'src')
-rwxr-xr-x | src/simplaret | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/simplaret b/src/simplaret index 01fed4f..b58e41b 100755 --- a/src/simplaret +++ b/src/simplaret @@ -636,12 +636,14 @@ function simplaret_get_jail_patches { function simplaret_get_patches { - local jailpath + local jailpath oldroot if [ "$1" == "--upgrade" ]; then IS_UPGRADE="1" fi + oldroot="$ROOT" + # first get patches from the root system simplaret_get_jail_patches @@ -649,11 +651,14 @@ function simplaret_get_patches { if [ -s "$JAIL_LIST" ]; then for jailpath in `cat $JAIL_LIST`; do if [ -d "$jailpath/var/log/packages" ]; then + ROOT="$jailpath" simplaret_get_jail_patches $jailpath fi done fi + ROOT="$oldroot" + } function simplaret_checksum { |