autodist: add support for running <pkgname>-autoupdate script in /SOURCES after version update if found
This commit is contained in:
parent
4f12cc4969
commit
e3e4104f4e
6
autodist
6
autodist
@ -5,7 +5,7 @@
|
||||
#
|
||||
# Released under the terms of the GNU GPL release 3 license
|
||||
#
|
||||
VERSION=0.9.12
|
||||
VERSION=0.9.13
|
||||
me=(${0##*/} $VERSION "Sat Aug 20 2010")
|
||||
exec 3>`readlink /proc/self/fd/0`
|
||||
|
||||
@ -785,6 +785,10 @@ function launch_pkgs_loop() {
|
||||
}
|
||||
fi
|
||||
fi
|
||||
if [ "$2" != "$SPEC_VERSION" -a -e $source_dir/$pkg-autoupdate ]; then
|
||||
echo "?= Running autoupdate script with version $SPEC_VERSION"
|
||||
sh $source_dir/$pkg-autoupdate $SPEC_VERSION
|
||||
fi
|
||||
fi
|
||||
;;
|
||||
buildinstall|send)
|
||||
|
Loading…
Reference in New Issue
Block a user