diff options
Diffstat (limited to 'www/drupal4-textile/files/pkg-install.in')
-rw-r--r-- | www/drupal4-textile/files/pkg-install.in | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/www/drupal4-textile/files/pkg-install.in b/www/drupal4-textile/files/pkg-install.in deleted file mode 100644 index e18d858c77e8..000000000000 --- a/www/drupal4-textile/files/pkg-install.in +++ /dev/null @@ -1,27 +0,0 @@ -#!/bin/sh - -PREFIX=%%PREFIX%% -CONF_FILES="%%CONF_FILES%%" -CONF_DIRS="%%CONF_DIRS%%" - -case $2 in -POST-INSTALL) - for cfgfile in "${CONF_FILES}"; do - if [ ! -e ${PREFIX}/${cfgfile} ]; then - cp ${PREFIX}/${cfgfile}-dist ${PREFIX}/${cfgfile} - fi - done - ;; -DEINSTALL) - for cfgfile in "${CONF_FILES}"; do - if cmp -s ${PREFIX}/${cfgfile} ${PREFIX}/${cfgfile}-dist ]; then - rm ${PREFIX}/${cfgfile} - fi - done - ;; -POST-DEINSTALL) - for cfgdir in "${CONF_DIRS}"; do - rmdir ${PREFIX}/${cfgdir} 2> /dev/null || true - done - ;; -esac |