From 731ea7a9391e9cee18124296941b58493d2f7730 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Antoine=20Beaupr=C3=A9?= Date: Sat, 4 Oct 2008 15:28:15 +0000 Subject: [PATCH] factor out some calls --- debian/rules | 15 ++------------- 1 file changed, 2 insertions(+), 13 deletions(-) diff --git a/debian/rules b/debian/rules index b5dfefe5..c741f37f 100755 --- a/debian/rules +++ b/debian/rules @@ -57,11 +57,7 @@ install: build chown -R root:www-data debian/alternc/var/alternc/bureau chmod -R 644 debian/alternc/var/alternc/bureau chmod -R a+X debian/alternc/var/alternc/bureau - chown -R www-data:www-data debian/alternc/var/alternc/dns - chown -R www-data:www-data debian/alternc/var/alternc/html - chown -R www-data:www-data debian/alternc/var/run/alternc - chown -R www-data:www-data debian/alternc/var/log/alternc - chown -R www-data:www-data debian/alternc/var/alternc/tmp + chown -R www-data:www-data debian/alternc/var/alternc/dns debian/alternc/var/alternc/html debian/alternc/var/run/alternc debian/alternc/var/log/alternc debian/alternc/var/alternc/tmp for sub in dns dns/redir mail html apacheconf; do \ for i in a b c d e f g h i j k l m n o p q r s t u v w x y z _ 0 1 2 3 4 5 6 7 8 9; do \ @@ -70,14 +66,7 @@ install: build done ;\ done - chmod a+x debian/alternc/usr/share/alternc/install/alternc.install - chmod a+x debian/alternc/usr/share/alternc/install/dopo.sh - chmod a+x debian/alternc/usr/share/alternc/install/mysql.sh - chmod a+x debian/alternc/usr/share/alternc/install/newone.php - chmod a+x debian/alternc/usr/share/alternc/install/reset_root.php - chmod a+x debian/alternc/usr/share/alternc/install/upgrade_check.sh - chmod a+x debian/alternc/usr/share/alternc/install/upgrades/*.php - chmod a+x debian/alternc/usr/share/alternc/install/upgrades/*.sh + chmod a+x debian/alternc/usr/share/alternc/install/alternc.install debian/alternc/usr/share/alternc/install/dopo.sh debian/alternc/usr/share/alternc/install/mysql.sh debian/alternc/usr/share/alternc/install/newone.php debian/alternc/usr/share/alternc/install/reset_root.php debian/alternc/usr/share/alternc/install/upgrade_check.sh debian/alternc/usr/share/alternc/install/upgrades/*.php debian/alternc/usr/share/alternc/install/upgrades/*.sh # Ex old alternc-admintools install tools/top_http_users debian/alternc/usr/bin install tools/top_mysql_users debian/alternc/usr/bin