We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e371063 commit af85effCopy full SHA for af85eff
bin/v-add-sys-snappymail
@@ -92,7 +92,6 @@ if [ "$UPDATE" == "no" ]; then
92
exit 2
93
fi
94
95
- # Get current version
96
97
key=$(openssl rand -hex 4)
98
suffix=$(openssl rand -hex 4)
@@ -104,6 +103,8 @@ if [ "$UPDATE" == "no" ]; then
104
103
echo "Admin Panel key: admin_$key" >> ~/.snappymail
105
106
tar -xzf ${SM_INSTALL_DIR}/${SM_FILE}
+ # Get current version
107
+ version=$(cat ./data/VERSION)
108
109
mv ./data $SM_CONFIG_DIR/
110
ln -s $SM_CONFIG_DIR/data/ ./data
0 commit comments