create backup config file

This commit is contained in:
Alexander M. Turek
2004-06-07 15:35:52 +00:00
parent 71a244b06f
commit 1d938b7750
2 changed files with 7 additions and 0 deletions

View File

@@ -2,6 +2,9 @@
#
# $Id$
#
# 2004-06-07 rabus@users.sourceforge.net
# - create backup config file
#
# 2004-04-29, lem9@users.sourceforge.net:
# - keep only the previous cvs directory created
#
@@ -165,6 +168,9 @@ find phpMyAdmin \( -name '*.sh' -o -name '*.pl' \) -print0 | xargs -0 chmod 755
# Building Documentation.txt
lynx --dont_wrap_pre --nolist --dump phpMyAdmin/Documentation.html > phpMyAdmin/Documentation.txt
# Creating a backup config.inc.php
cp phpMyAdmin/config.inc.php phpMyAdmin/config.default
# Renaming directory
mv phpMyAdmin phpMyAdmin-$target