Parcourir la source

Fix substitutions

Bob Mottram il y a 7 ans
Parent
révision
87b0a3b052

+ 1
- 1
src/freedombone-app-nextcloud Voir le fichier

@@ -138,7 +138,7 @@ function install_interactive_nextcloud {
138 138
 
139 139
         # remove any invalid characters
140 140
         if [ ${#NEXTCLOUD_TITLE} -gt 0 ]; then
141
-            new_title=${"$NEXTCLOUD_TITLE"//\'//}
141
+            new_title=${NEXTCLOUD_TITLE//\'/}
142 142
             NEXTCLOUD_TITLE="$new_title"
143 143
         fi
144 144
 

+ 1
- 1
src/freedombone-app-pleroma Voir le fichier

@@ -353,7 +353,7 @@ function install_interactive_pleroma {
353 353
 
354 354
         # remove any invalid characters
355 355
         if [ ${#PLEROMA_TITLE} -gt 0 ]; then
356
-            new_title=${"$PLEROMA_TITLE"//\'//}
356
+            new_title=${PLEROMA_TITLE//\'/}
357 357
             PLEROMA_TITLE="$new_title"
358 358
         fi
359 359
 

+ 1
- 1
src/freedombone-app-postactiv Voir le fichier

@@ -180,7 +180,7 @@ function install_interactive_postactiv {
180 180
 
181 181
         # remove any invalid characters
182 182
         if [ ${#POSTACTIV_TITLE} -gt 0 ]; then
183
-            new_title=${"$POSTACTIV_TITLE"//\'/}
183
+            new_title=${POSTACTIV_TITLE//\'/}
184 184
             POSTACTIV_TITLE="$new_title"
185 185
         fi
186 186