Prechádzať zdrojové kódy

Update notification output for Composer install failure

Kristan Kenney 5 rokov pred
rodič
commit
b11d9d37a3
1 zmenil súbory, kde vykonal 1 pridanie a 1 odobranie
  1. 1 1
      install/deb/filemanager/install-fm.sh

+ 1 - 1
install/deb/filemanager/install-fm.sh

@@ -29,7 +29,7 @@ COMPOSER_BIN="$HOMEDIR/$user/.composer/composer"
 if [ ! -f "$COMPOSER_BIN" ]; then
     $BIN/v-add-user-composer "$user"
     if [ $? -ne 0 ]; then
-        $BIN/v-add-user-notification admin 'Composer installation failed' 'The FileManager installation had to been aborted, please try to run the installation manualy: bash $HESTIA/install/deb/filemanager/install-fm.sh'
+        $BIN/v-add-user-notification admin 'Composer installation failed!' '<b>The File Manager will not work without Composer.</b><br><br>Please try running the installer from a shell session:<br>bash $HESTIA/install/deb/filemanager/install-fm.sh<br><br>If this issue continues, please open an issue report on <a href="https://github.com/hestiacp/hestiacp/issues" target="_new"><i class="fab fa-github"></i> GitHub</a> or e-mail <a href="mailto:info@hestiacp.com?Subject="['$new_version'] Bug Report: Composer Install Failure">info@hestiacp.com</a>.'
         exit 0
     fi
 fi