Changeset 2291
- Timestamp:
- 10/04/08 18:48:30 (2 months ago)
- Files:
-
- alternc/trunk/debian/postinst (modified) (2 diffs)
- alternc/trunk/install/alternc.install (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
alternc/trunk/debian/postinst
r2259 r2291 158 158 fi 159 159 160 # /var/alternc/dns/d/www.example.com 161 FQDN_LETTER="`echo $FQDN | sed -e 's/.*\.\([^\.]\)[^\.]*\.[^\.]*$/\1/'`" 162 if [ "$FQDN_LETTER" = "$FQDN" ] 163 then 164 FQDN_LETTER="_" 165 fi 166 160 167 # Erase all apacheconf file 161 168 # They will be regenerated without the bug by upgrade_check.sh below. … … 175 182 fi 176 183 184 # Add access to the management panel 185 ln -nsf /var/alternc/bureau /var/alternc/dns/$FQDN_LETTER/$FQDN 186 187 # Bind stuff 188 touch /var/alternc/bind/automatic.conf /var/alternc/bind/slaveip.conf 189 chown root:bind /var/alternc/bind/automatic.conf /var/alternc/bind/slaveip.conf 190 chmod 640 /var/alternc/bind/automatic.conf /var/alternc/bind/slaveip.conf 191 touch /var/run/alternc/refresh_slave 192 /usr/lib/alternc/slave_dns 193 # Apache will not start without this file 194 touch /var/alternc/apacheconf/override_php.conf 195 196 # Update l18n files 197 /usr/share/alternc/install/dopo.sh 198 177 199 # important: postinst gele sans ca 178 200 db_stop alternc/trunk/install/alternc.install
r2260 r2291 182 182 # Ad-hoc fixes 183 183 # 184 # Add access to the management panel 185 ln -nsf /var/alternc/bureau /var/alternc/dns/$FQDN_LETTER/$FQDN 186 187 # Update l18n files 188 /usr/share/alternc/install/dopo.sh 189 190 # Bind stuff 191 touch /var/alternc/bind/automatic.conf /var/alternc/bind/slaveip.conf 192 chown root:bind /var/alternc/bind/automatic.conf /var/alternc/bind/slaveip.conf 193 chmod 640 /var/alternc/bind/automatic.conf /var/alternc/bind/slaveip.conf 194 touch /var/run/alternc/refresh_slave 195 /usr/lib/alternc/slave_dns 196 197 # Apache will not start without this file 198 touch /var/alternc/apacheconf/override_php.conf 184 199 185 php="`ls /usr/lib/apache*/*/*php*.so | sed -e 's/^.*libphp\(.\)\.so$/php\1/' | tail -1`" 200 186 if [ -x /usr/sbin/apache ]
