Commit e6353ef6 authored by Vitaly Lipatov's avatar Vitaly Lipatov

loginhsh: improve tool packages install

parent 5b531f1e
...@@ -119,19 +119,28 @@ SHELLHASHERARG="--mountpoints=/proc" ...@@ -119,19 +119,28 @@ SHELLHASHERARG="--mountpoints=/proc"
check_locking check_locking
UTILPKG= UTILPKG=''
if [ -n "$ALLOWX" ] ; then
UTILPKG="$UTILPKG xauth fonts-ttf-liberation"
fi
if [ -n "$QUIETMODE" ] ; then if [ -n "$QUIETMODE" ] ; then
docmd $HSH-install $HASHERDIR --wait-lock $UTILPKG $LISTNAMES || fatal "Error with install" docmd $HSH-install $HASHERDIR --wait-lock $UTILPKG $LISTNAMES || fatal "Error with install"
if [ -n "$RUNCOMMAND" ] ; then
docmd $HSH-run $HASHERDIR $SHELLHASHERARG $ROOTER --wait-lock -- $RUNCOMMAND
exit
fi
echog "Exiting (quiet mode)..." echog "Exiting (quiet mode)..."
exit exit
fi fi
echog "Prepare hasher in $HASHERDIR ..." echog "Prepare hasher in $HASHERDIR ..."
UTILPKG="mc eepm"
if [ -n "$ALLOWX" ] ; then
UTILPKG="$UTILPKG xauth fonts-ttf-liberation"
fi
UTILPKG="$UTILPKG mc eepm"
UTILPKG="$UTILPKG etersoft-build-utils"
# GNOME program needs dbus-tools-gui # GNOME program needs dbus-tools-gui
if $EPMCMD requires $LISTNAMES 2>/dev/null | grep -q dbus ; then if $EPMCMD requires $LISTNAMES 2>/dev/null | grep -q dbus ; then
...@@ -139,12 +148,9 @@ if $EPMCMD requires $LISTNAMES 2>/dev/null | grep -q dbus ; then ...@@ -139,12 +148,9 @@ if $EPMCMD requires $LISTNAMES 2>/dev/null | grep -q dbus ; then
UTILPKG="$UTILPKG dbus-tools-gui" UTILPKG="$UTILPKG dbus-tools-gui"
fi fi
if [ -n "$ALLOWX" ] ; then UTILPKG=""
UTILPKG="$UTILPKG xauth fonts-ttf-liberation"
SHELLHASHERARG="$SHELLHASHERARG $ALLOWX" SHELLHASHERARG="$SHELLHASHERARG $ALLOWX"
else
UTILPKG="$UTILPKG etersoft-build-utils"
fi
docmd $HSH-install $HASHERDIR --wait-lock $UTILPKG $LISTNAMES || fatal "Error with install" docmd $HSH-install $HASHERDIR --wait-lock $UTILPKG $LISTNAMES || fatal "Error with install"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment