srcpkgs/: remove empty actions from INSTALL/REMOVE

This commit is contained in:
Piotr Wójcik 2021-12-28 19:23:08 +01:00
parent e2fbab0173
commit ea3b723d5a
5 changed files with 0 additions and 12 deletions

View file

@ -2,8 +2,6 @@
# This script builds fontconfig's fonts cache. # This script builds fontconfig's fonts cache.
# #
case "${ACTION}" in case "${ACTION}" in
pre)
;;
post) post)
echo "Building fonts cache... " echo "Building fonts cache... "
fc-cache -f >/dev/null fc-cache -f >/dev/null

View file

@ -1,9 +1,5 @@
# INSTALL # INSTALL
case "$ACTION" in case "$ACTION" in
pre)
# Actions to execute before the package files are unpacked.
echo
;;
post) post)
if [ "$UPDATE" = "yes" ]; then if [ "$UPDATE" = "yes" ]; then
# actions to execute if package is being updated. # actions to execute if package is being updated.

View file

@ -2,8 +2,6 @@
# This script registers the SAX parser into the registry. # This script registers the SAX parser into the registry.
# #
case "${ACTION}" in case "${ACTION}" in
pre)
;;
post) post)
LC_ALL=C perl -MXML::SAX -e \ LC_ALL=C perl -MXML::SAX -e \
"XML::SAX->add_parser(q(XML::SAX::PurePerl))->save_parsers()" \ "XML::SAX->add_parser(q(XML::SAX::PurePerl))->save_parsers()" \

View file

@ -8,6 +8,4 @@ pre)
2>&1 >/dev/null 2>&1 >/dev/null
[ $? -eq 0 ] && echo "Removed parser from XML::SAX registry." [ $? -eq 0 ] && echo "Removed parser from XML::SAX registry."
;; ;;
post)
;;
esac esac

View file

@ -3,8 +3,6 @@
# be an install script here... # be an install script here...
case "$ACTION" in case "$ACTION" in
pre)
;;
post) post)
mkdir -p etc/xlunch mkdir -p etc/xlunch
APPS=/usr/share/applications APPS=/usr/share/applications