Handle douninst.sh.
This commit is contained in:
parent
b2218d7e37
commit
959d201936
2 changed files with 1 additions and 1 deletions
0
templates/douninst.sh
Normal file
0
templates/douninst.sh
Normal 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"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue