simplepkg changelog
-------------------
-0.4.9pre10-13: simplaret small fixes
+0.4.9pre10-14: simplaret small fixes
0.4.9pre9: createpkg:
- speedup
PACKAGE="simplepkg"
PACK_DIR="package-$PACKAGE"
BUILD=${BUILD:=1rha}
-VERSION="0.4.9pre13"
+VERSION="0.4.9pre14"
ARCH="noarch"
LIBEXEC="/usr/libexec/$PACKAGE"
BINDIR="/usr/bin"
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
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 {