File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -272,8 +272,8 @@ if [ "$HESTIA_B" = true ] ; then
272272
273273 # Download and unpack source files
274274 wget $HESTIA
275- unzip -q master .zip
276- rm master .zip
275+ unzip -q $branch .zip
276+ rm $branch .zip
277277
278278 # Prepare Deb Package Folder Structure
279279 cd hestia_$HESTIA_V /
@@ -289,7 +289,7 @@ if [ "$HESTIA_B" = true ] ; then
289289 chmod +x postinst
290290
291291 # Move needed directories
292- cd ../../hestiacp-master
292+ cd ../../hestiacp-$branch
293293 mv bin func install upd web ../hestia_$HESTIA_V /usr/local/hestia/
294294
295295 # Set permission
@@ -303,7 +303,7 @@ if [ "$HESTIA_B" = true ] ; then
303303
304304 # clear up the source folder
305305 rm -r hestia_$HESTIA_V
306- rm -r hestiacp-master
306+ rm -r hestiacp-$branch
307307fi
308308
309309
You can’t perform that action at this time.
0 commit comments