[evolvis-commits] r7792: Removed delete funct?==?UTF-8?Q?ion↵
mirabilos at evolvis.org
mirabilos at evolvis.org
Thu Feb 24 15:49:24 CET 2011
Author: mirabilos
Date: 2011-02-24 15:49:24 +0100 (Thu, 24 Feb 2011)
New Revision: 7792
Modified:
trunk/gforge_base/evolvisforge-5.1/gforge/debian/dsf-helper/handle-mainconffile.postinst
Log:
Removed delete function
Modified: trunk/gforge_base/evolvisforge-5.1/gforge/debian/dsf-helper/handle-mainconffile.postinst
===================================================================
--- trunk/gforge_base/evolvisforge-5.1/gforge/debian/dsf-helper/handle-mainconffile.postinst 2011-02-24 14:49:23 UTC (rev 7791)
+++ trunk/gforge_base/evolvisforge-5.1/gforge/debian/dsf-helper/handle-mainconffile.postinst 2011-02-24 14:49:24 UTC (rev 7792)
@@ -2,14 +2,6 @@
# Functions to handle the main Sourceforge confguration file
###
mainconffile=/etc/sourceforge/sourceforge.conf
-# Create the main configuraion file (unless it already exists)
-create_mainconffile () {
- if [ ! -e $mainconffile ] ; then
- touch $mainconffile
- chmod 600 $mainconffile
- fi
-}
-
# Update it for the variables received as parameters
update_mainconffile () {
for i in $@ ; do
@@ -20,8 +12,9 @@
done
}
-
-# Delete the main configuration file
-delete_mainconffile () {
- rm -f $mainconffile
+create_mainconffile () {
+ if [ ! -e $mainconffile ] ; then
+ touch $mainconffile
+ chmod 600 $mainconffile
+ fi
}
More information about the evolvis-commits
mailing list