Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
etersoft-build-utils
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
korinf
etersoft-build-utils
Commits
e6353ef6
Commit
e6353ef6
authored
Oct 18, 2017
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
loginhsh: improve tool packages install
parent
5b531f1e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
11 deletions
+17
-11
loginhsh
bin/loginhsh
+17
-11
No files found.
bin/loginhsh
View file @
e6353ef6
...
...
@@ -119,19 +119,28 @@ SHELLHASHERARG="--mountpoints=/proc"
check_locking
UTILPKG
=
if
[
-n
"
$ALLOWX
"
]
;
then
UTILPKG
=
"
$UTILPKG
xauth fonts-ttf-liberation"
fi
UTILPKG
=
''
if
[
-n
"
$QUIETMODE
"
]
;
then
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)..."
exit
fi
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
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"
fi
if
[
-n
"
$ALLOWX
"
]
;
then
UTILPKG
=
"
$UTILPKG
xauth fonts-ttf-liberation"
SHELLHASHERARG
=
"
$SHELLHASHERARG
$ALLOWX
"
else
UTILPKG
=
"
$UTILPKG
etersoft-build-utils"
fi
UTILPKG
=
""
SHELLHASHERARG
=
"
$SHELLHASHERARG
$ALLOWX
"
docmd
$HSH
-install
$HASHERDIR
--wait-lock
$UTILPKG
$LISTNAMES
||
fatal
"Error with install"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment