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.
|
# 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
|
||||||
|
|
|
@ -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.
|
||||||
|
|
|
@ -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()" \
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue