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
7844ed57
Commit
7844ed57
authored
Aug 25, 2018
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
loginhsh: add -s (skip stuffs)
parent
b3d5f1c7
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
11 deletions
+15
-11
loginhsh
bin/loginhsh
+15
-11
No files found.
bin/loginhsh
View file @
7844ed57
#!/bin/sh
# 2005-2006, 2012, 2016 (c) Etersoft www.etersoft.ru
# 2005-2006, 2012, 2016
, 2018
(c) Etersoft www.etersoft.ru
# Author: Vitaly Lipatov <lav@etersoft.ru>
# Public domain
#
...
...
@@ -41,11 +41,12 @@ phelp()
echo
echog
"Extra options:"
echog
" -d print hasher dir only"
echog
" -s do not install stuffs (extra packages)"
echog
" -M?? binary repository name (obsoleted)"
echog
" -x allow run X program (obsoleted)"
}
while
getopts
:chitodvqr:b:p:xXY opt
;
do
while
getopts
:chitodvqr:b:p:
s
xXY opt
;
do
case
$opt
in
h
)
phelp
;
exit
0
;;
t
)
TESTMODE
=
1
;;
...
...
@@ -56,6 +57,7 @@ while getopts :chitodvqr:b:p:xXY opt; do
b
)
BINARYREPONAME
=
"
$OPTARG
"
;;
r
)
RUNCOMMAND
=
"
$OPTARG
"
;;
p
)
HASHERPOSTFIX
=
"
$OPTARG
"
;;
s
)
SKIPSTUFFS
=
s
;;
X
)
ALLOWX
=
-X
;;
Y
)
ALLOWX
=
-Y
;;
x
)
ALLOWX
=
-Y
;;
...
...
@@ -137,17 +139,19 @@ fi
echog
"Prepare hasher in
$HASHERDIR
..."
if
[
-n
"
$ALLOWX
"
]
;
then
UTILPKG
=
"
$UTILPKG
xauth fonts-ttf-liberation"
fi
if
[
-z
"
$SKIPSTUFFS
"
]
;
then
if
[
-n
"
$ALLOWX
"
]
;
then
UTILPKG
=
"
$UTILPKG
xauth fonts-ttf-liberation"
fi
UTILPKG
=
"
$UTILPKG
mc eepm"
UTILPKG
=
"
$UTILPKG
etersoft-build-utils"
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
echo
"dbus using detected, add dbus-tools-gui"
UTILPKG
=
"
$UTILPKG
dbus-tools-gui"
# GNOME program needs dbus-tools-gui
if
$EPMCMD
requires
$LISTNAMES
2>/dev/null |
grep
-q
dbus
;
then
echo
"dbus using detected, add dbus-tools-gui"
UTILPKG
=
"
$UTILPKG
dbus-tools-gui"
fi
fi
SHELLHASHERARG
=
"
$SHELLHASHERARG
$ALLOWX
"
...
...
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