Commit bc386f90 authored by Benjamin Sonntag's avatar Benjamin Sonntag

Merge branch 'master' of

parents b2bcca72 eeebb91e
......@@ -581,6 +581,7 @@ install/upgrades/3.0.3~a.sql -text
install/upgrades/ -text
install/upgrades/3.1.0~a.sql -text
install/upgrades/3.1.0~b.php -text
install/upgrades/ -text
install/upgrades/3.2.1~a.sql -text
install/upgrades/3.3.0~a.sql -text
install/upgrades/README -text
# Upgrading script to AlternC 3.0.3
umask 022
if [ ! -r "$CONFIG_FILE" ]; then
echo "Can't access $CONFIG_FILE."
exit 1
if [ `id -u` -ne 0 ]; then
echo " must be launched as root"
exit 1
#### Migrate zone file of AlternC 1.0 from old directory
# If no old directory, nothing to do here
test -d /var/alternc/bind/zones/ || exit 0
# Copy file but do not overwrite them
cp --no-clobber /var/alternc/bind/zones/* /var/lib/alternc/bind/zones/
# No need to regenerate zone, we are launched by upgrade_check,
# launched by alternc.install, and alternc.install regenerate everything
# when it end
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment