diff options
Diffstat (limited to 'ftp/proma/pkg-plist')
-rw-r--r-- | ftp/proma/pkg-plist | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ftp/proma/pkg-plist b/ftp/proma/pkg-plist index 7ef5811833f1..49a910792d38 100644 --- a/ftp/proma/pkg-plist +++ b/ftp/proma/pkg-plist @@ -1,6 +1,6 @@ -@unexec if cmp -s %D/%%WWWDIR%%/config.inc.php-example %D/%%WWWDIR%%/config.inc.php; then rm -f %D/%%WWWDIR%%/config.inc.php; fi +@unexec if cmp %B/%%WWWDIR%%/config.inc.php-example %B/%%WWWDIR%%/config.inc.php; then rm -f %B/%%WWWDIR%%/config.inc.php; fi +@exec if [ ! -f %B/%%WWWDIR%%/config.inc.php ] ; then cp -p %D/%F %B/config.inc.php; fi %%WWWDIR%%/config.inc.php-example -@exec if [ ! -f %D/%%WWWDIR%%/config.inc.php ] ; then cp -p %D/%F %B/config.inc.php; fi %%WWWDIR%%/index.php %%WWWDIR%%/style.css %%WWWDIR%%/libs/admin.lib.php |