xbps-base-files: some more fixes for the triggers.
--HG-- extra : convert_revision : 9a96f3d2101793c8dd8e140dc2728cadd9496f61
This commit is contained in:
@@ -15,15 +15,15 @@ targets)
|
||||
echo "post-install post-remove"
|
||||
;;
|
||||
run)
|
||||
if [ "$2" = "post-remove" -a "${PKGNAME}" = "pango" ]; then
|
||||
if [ -f ${pango_modules} ]; then
|
||||
echo "Removing pango modules file..."
|
||||
rm -f ${pango_modules}
|
||||
fi
|
||||
break
|
||||
fi
|
||||
case "$2" in
|
||||
post-*)
|
||||
if [ "${PKGNAME}" = "pango" ]; then
|
||||
if [ -f ${pango_modules} ]; then
|
||||
echo "Removing pango modules file..."
|
||||
rm -f ${pango_modules}
|
||||
fi
|
||||
break
|
||||
fi
|
||||
if [ -x ${pango_bin} ]; then
|
||||
echo "Updating pango modules file..."
|
||||
${pango_bin} > ${pango_modules}
|
||||
|
||||
Reference in New Issue
Block a user