2
0
Эх сурвалжийг харах

Merge pull request #5538 from namar0x0309/patch-1

Update Candidate-WeKan-Snap-Manual-Upgrade.md in order to create a proper sh file snap-settings.sh
Lauri Ojansivu 8 сар өмнө
parent
commit
8bf94d6ac6

+ 2 - 2
docs/Platforms/FOSS/Snap/Candidate-WeKan-Snap-Manual-Upgrade.md

@@ -40,7 +40,7 @@ ssh wekanserver
 ```
 ```
 #### 5. Save snap settings and set it as executeable
 #### 5. Save snap settings and set it as executeable
 ```
 ```
-sudo snap get wekan > snap-settings.sh
+sudo snap get wekan | awk '{if(NR>1) print "sudo snap set wekan " $1 "=" "\"" $2 "\""}' > snap-settings.sh
 
 
 chmod +x snap-settings.sh
 chmod +x snap-settings.sh
 ```
 ```
@@ -273,4 +273,4 @@ If you have problems, add comment to issue https://github.com/wekan/wekan/issues
 
 
 - This is discontinued, Gantt features will be later added to WeKan MIT version.
 - This is discontinued, Gantt features will be later added to WeKan MIT version.
 - Gantt version files are instead at `/var/snap/wekan-gantt-gpl/`
 - Gantt version files are instead at `/var/snap/wekan-gantt-gpl/`
-- Gantt snap name is wekan-gantt-gpl
+- Gantt snap name is wekan-gantt-gpl