Sfoglia il codice sorgente

Update hestia-php depedencies (libzip,unzip)

Robert Zollner 5 anni fa
parent
commit
e0f54cb526
2 ha cambiato i file con 1 aggiunte e 7 eliminazioni
  1. 0 6
      install/upgrade/versions/latest.sh
  2. 1 1
      src/deb/php/control

+ 0 - 6
install/upgrade/versions/latest.sh

@@ -82,12 +82,6 @@ fi
 if [ ! -e "$HESTIA/web/fm/configuration.php" ]; then
 if [ ! -e "$HESTIA/web/fm/configuration.php" ]; then
     echo "(*) Configuring Filegator FileManager..."
     echo "(*) Configuring Filegator FileManager..."
 
 
-    # Validate if unzip is installed
-    if [ ! -e "/usr/bin/unzip" ]; then
-        apt -qq update > /dev/null 2>&1
-        apt -qq install unzip > /dev/null 2>&1
-    fi
-
     # Install the FileManager
     # Install the FileManager
     source $HESTIA_INSTALL_DIR/filemanager/install-fm.sh > /dev/null 2>&1
     source $HESTIA_INSTALL_DIR/filemanager/install-fm.sh > /dev/null 2>&1
 
 

+ 1 - 1
src/deb/php/control

@@ -6,7 +6,7 @@ Section: admin
 Maintainer: HestaCP <info@hestiacp.com>
 Maintainer: HestaCP <info@hestiacp.com>
 Homepage: https://www.hestiacp.com
 Homepage: https://www.hestiacp.com
 Architecture: amd64
 Architecture: amd64
-Depends: hestia
+Depends: hestia, libzip5 | libzip4, unzip
 Description: hestia php-fpm
 Description: hestia php-fpm
  hestia is an open source hosting control panel.
  hestia is an open source hosting control panel.
  hestia has a clean and focused interface without the clutter.
  hestia has a clean and focused interface without the clutter.