fixing rules + removing chown to alterncpanel

This commit is contained in:
Benjamin Sonntag 2016-05-18 14:56:35 +02:00
parent 4e558e5e7c
commit bb7d78a48b
2 changed files with 2 additions and 5 deletions

4
debian/rules vendored
View File

@ -20,8 +20,8 @@ override_dh_install:
$(MAKE) -C ssl install DESTDIR=$(CURDIR)/debian/alternc-ssl $(MAKE) -C ssl install DESTDIR=$(CURDIR)/debian/alternc-ssl
override_dh_fixperms: override_dh_fixperms:
dh_fixperms dh_fixperms
chmod 700 debian/alternc/var/lib/alternc/backups chmod 700 debian/alternc/var/lib/alternc/backups
%: %:
dh $@ dh $@

View File

@ -577,9 +577,6 @@ fi
chgrp vmail /etc/dovecot/dovecot.conf chgrp vmail /etc/dovecot/dovecot.conf
chmod g+r /etc/dovecot/dovecot.conf chmod g+r /etc/dovecot/dovecot.conf
# Changing owner of web panel's files
chown -R alterncpanel:alterncpanel "/usr/share/alternc/panel/"
# We force the re-computing of the DNS zones, since we may have changed the IP address (see #460) # We force the re-computing of the DNS zones, since we may have changed the IP address (see #460)
/usr/bin/mysql --defaults-file="/etc/alternc/my.cnf" -B -e "update domaines set dns_action='UPDATE' WHERE gesdns=1;" /usr/bin/mysql --defaults-file="/etc/alternc/my.cnf" -B -e "update domaines set dns_action='UPDATE' WHERE gesdns=1;"