Browse Source

Update Candidate-WeKan-Snap-Manual-Upgrade.md

"sudo snap get wekan" outputs key value pairs but not sh code to set those values in snap wekan environment. 

Fixing this here
Nas A. 11 tháng trước cách đây
mục cha
commit
15af5d2c2e

+ 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
 ```
-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
 ```
@@ -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.
 - 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