We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fc95e89 commit 8091b6dCopy full SHA for 8091b6d
1 file changed
src/hst_autocompile.sh
@@ -272,8 +272,8 @@ if [ "$HESTIA_B" = true ] ; then
272
273
# Download and unpack source files
274
wget $HESTIA
275
- unzip -q master.zip
276
- rm master.zip
+ unzip -q $branch.zip
+ rm $branch.zip
277
278
# Prepare Deb Package Folder Structure
279
cd hestia_$HESTIA_V/
@@ -289,7 +289,7 @@ if [ "$HESTIA_B" = true ] ; then
289
chmod +x postinst
290
291
# Move needed directories
292
- cd ../../hestiacp-master
+ cd ../../hestiacp-$branch
293
mv bin func install upd web ../hestia_$HESTIA_V/usr/local/hestia/
294
295
# Set permission
@@ -303,7 +303,7 @@ if [ "$HESTIA_B" = true ] ; then
303
304
# clear up the source folder
305
rm -r hestia_$HESTIA_V
306
- rm -r hestiacp-master
+ rm -r hestiacp-$branch
307
fi
308
309
0 commit comments