Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
新注册的用户请输入邮箱并保存,随后登录邮箱激活账号。后续可直接使用邮箱登录!
Open sidebar
18638187273
common
Commits
24792235
Commit
24792235
authored
5 months ago
by
shaozhuguang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
chore: fix error with softhsm2 install --story=0
parent
837f34bf
master
develop
v2.3.6
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
softhsm_helper.sh
softhsm_helper.sh
+2
-2
No files found.
softhsm_helper.sh
View file @
24792235
...
...
@@ -11,9 +11,9 @@ function install() {
sudo
apt-get
install
-y
softhsm2
elif
[
"
$os_name
"
==
"Ubuntu"
]
&&
[
"
$os_version
"
==
"20.04"
]
;
then
sudo
apt-get
install
-y
softhsm2
elif
[
"
$os_name
"
==
"CentOS"
]
&&
[
"
$os_version
"
==
"7"
]
;
then
elif
[
"
$os_name
"
==
"CentOS"
]
&&
[
$os_version
==
7
*
]
;
then
sudo
yum
install
-y
softhsm2
elif
[
"
$os_name
"
==
"CentOS"
]
&&
[
"
$os_version
"
==
"8"
]
;
then
elif
[
"
$os_name
"
==
"CentOS"
]
&&
[
$os_version
==
8
*
]
;
then
sudo
dnf
install
-y
softhsm2
else
echo
"Unsupported OS"
...
...
This diff is collapsed.
Click to expand it.
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