Changeset 1924
- Timestamp:
- 09/09/07 20:58:07 (8 months ago)
- Files:
-
- alternc-slavedns/trunk/debian/changelog (modified) (1 diff)
- alternc-slavedns/trunk/debian/postinst (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
alternc-slavedns/trunk/debian/changelog
r1690 r1924 1 alternc-slavedns (0.9.5) testing; urgency=low 2 3 * Adding the case when alternc-slavedns is installed on a machine having alternc >=0.9.3 installed. (#1040) 4 5 -- Benjamin Sonntag <benjamin@alternc.org> Sun, 9 Sep 2007 20:56:00 +0200 6 1 7 alternc-slavedns (0.9.4) stable; urgency=low 2 8 alternc-slavedns/trunk/debian/postinst
r1686 r1924 11 11 if [ -f /usr/share/alternc/install/etc/bind/named.conf ] 12 12 then 13 14 13 if grep -q "include \"/etc/bind/slavedns.conf\";" /usr/share/alternc/install/etc/bind/named.conf 15 14 then … … 17 16 else 18 17 echo "include \"/etc/bind/slavedns.conf\";" >>/usr/share/alternc/install/etc/bind/named.conf 18 fi 19 fi 20 # AlternC 0.9.3 & later versions use another file : 21 if [ -f /etc/alternc/templates/bind/named.conf ] 22 then 23 if grep -q "include \"/etc/bind/slavedns.conf\";" /etc/alternc/templates/bind/named.conf 24 then 25 echo "Named for AlternC already configured ..." 26 else 27 echo "include \"/etc/bind/slavedns.conf\";" >>/etc/alternc/templates/bind/named.conf 19 28 fi 20 29 fi … … 29 38 invoke-rc.d --quiet bind9 reload 30 39 fi 31 32 40 esac 33 41
