srcpkgs/: remove empty actions from INSTALL/REMOVE
This commit is contained in:
parent
e2fbab0173
commit
ea3b723d5a
|
@ -2,8 +2,6 @@
|
|||
# This script builds fontconfig's fonts cache.
|
||||
#
|
||||
case "${ACTION}" in
|
||||
pre)
|
||||
;;
|
||||
post)
|
||||
echo "Building fonts cache... "
|
||||
fc-cache -f >/dev/null
|
||||
|
|
|
@ -1,9 +1,5 @@
|
|||
# INSTALL
|
||||
case "$ACTION" in
|
||||
pre)
|
||||
# Actions to execute before the package files are unpacked.
|
||||
echo
|
||||
;;
|
||||
post)
|
||||
if [ "$UPDATE" = "yes" ]; then
|
||||
# actions to execute if package is being updated.
|
||||
|
|
|
@ -2,8 +2,6 @@
|
|||
# This script registers the SAX parser into the registry.
|
||||
#
|
||||
case "${ACTION}" in
|
||||
pre)
|
||||
;;
|
||||
post)
|
||||
LC_ALL=C perl -MXML::SAX -e \
|
||||
"XML::SAX->add_parser(q(XML::SAX::PurePerl))->save_parsers()" \
|
||||
|
|
|
@ -8,6 +8,4 @@ pre)
|
|||
2>&1 >/dev/null
|
||||
[ $? -eq 0 ] && echo "Removed parser from XML::SAX registry."
|
||||
;;
|
||||
post)
|
||||
;;
|
||||
esac
|
||||
|
|
|
@ -3,8 +3,6 @@
|
|||
# be an install script here...
|
||||
|
||||
case "$ACTION" in
|
||||
pre)
|
||||
;;
|
||||
post)
|
||||
mkdir -p etc/xlunch
|
||||
APPS=/usr/share/applications
|
||||
|
|
Loading…
Reference in New Issue