Browse Source

Remove if already existing

Bob Mottram 8 years ago
parent
commit
8b660c7a13
1 changed files with 3 additions and 0 deletions
  1. 3
    0
      src/freedombone

+ 3
- 0
src/freedombone View File

@@ -9955,6 +9955,9 @@ function install_media_server {
9955 9955
 
9956 9956
 	# create a configuration
9957 9957
 	cd $MEDIA_SERVER_BASE_DIRECTORY
9958
+	if [ -f deployment.ini ]; then
9959
+		rm deployment.ini
9960
+	fi
9958 9961
 	paster make-config MediaDrop deployment.ini
9959 9962
 	if [ ! -f deployment.ini ]; then
9960 9963
 		echo $'deployment.ini not created'