Handle douninst.sh.

This commit is contained in:
Darren 'Tadgy' Austin 2022-09-05 21:44:00 +01:00
commit 959d201936
2 changed files with 1 additions and 1 deletions

0
templates/douninst.sh Normal file
View file

View file

@ -297,7 +297,7 @@ done
# Copy pkgtool special files into the package.
mkdir -m 755 "$BUILD_ROOT/install" || die "Failed to make /install directory"
for FILE in doinst.sh slack-{conflicts,desc,required,suggests}; do
for FILE in doinst.sh douninst.sh slack-{conflicts,desc,required,suggests}; do
[[ -e "$SRC_DIR/$FILE" ]] && {
sed -r -e '/(^#|^$|-handy-ruler-)/ d' "${SED_OPTS[@]}" <"$SRC_DIR/$FILE" >"$BUILD_ROOT/install/$FILE" || \
die "Failed to copy in pkgtool special file: $FILE"