File tree Expand file tree Collapse file tree 3 files changed +7
-9
lines changed Expand file tree Collapse file tree 3 files changed +7
-9
lines changed Original file line number Diff line number Diff line change 34
34
ZYPPER_OPTIONS : " "
35
35
SUSE_PACKAGE : " "
36
36
script :
37
- - ${PACKAGE_MANAGER} install -y which ncurses procps ${SUSE_PACKAGE}
37
+ - ${PACKAGE_MANAGER} install -y ncurses procps ${SUSE_PACKAGE}
38
38
- bash passbolt-repo-setup."${PASSBOLT_FLAVOUR}".sh
39
39
- ${PACKAGE_MANAGER} ${ZYPPER_OPTIONS} install -y passbolt-"${PASSBOLT_FLAVOUR}"-server
40
40
Original file line number Diff line number Diff line change @@ -141,13 +141,13 @@ os_detect () {
141
141
then
142
142
CODENAME=" focal"
143
143
fi
144
- elif which zypper > /dev/null 2>&1
144
+ elif command -v zypper > /dev/null 2>&1
145
145
then
146
146
PACKAGE_MANAGER=zypper
147
- elif which dnf > /dev/null 2>&1
147
+ elif command -v dnf > /dev/null 2>&1
148
148
then
149
149
PACKAGE_MANAGER=dnf
150
- elif which yum > /dev/null 2>&1
150
+ elif command -v yum > /dev/null 2>&1
151
151
then
152
152
PACKAGE_MANAGER=yum
153
153
else
@@ -193,7 +193,6 @@ install_dependencies () {
193
193
# adding module web scripting repo and his dependency module server application for PHP
194
194
# SUSEConnect --product sle-module-server-applications/15.6/x86_64
195
195
# SUSEConnect --product sle-module-web-scripting/15.6/x86_64
196
- # SUSEConnect --product PackageHub/15.6/x86_64
197
196
# download the prerequisites packages
198
197
${PACKAGE_MANAGER} --non-interactive install php8-fpm php8
199
198
# create a default default php-fpm conf as it is required during the installer
Original file line number Diff line number Diff line change @@ -141,13 +141,13 @@ os_detect () {
141
141
then
142
142
CODENAME=" focal"
143
143
fi
144
- elif which zypper > /dev/null 2>&1
144
+ elif command -v zypper > /dev/null 2>&1
145
145
then
146
146
PACKAGE_MANAGER=zypper
147
- elif which dnf > /dev/null 2>&1
147
+ elif command -v dnf > /dev/null 2>&1
148
148
then
149
149
PACKAGE_MANAGER=dnf
150
- elif which yum > /dev/null 2>&1
150
+ elif command -v yum > /dev/null 2>&1
151
151
then
152
152
PACKAGE_MANAGER=yum
153
153
else
@@ -193,7 +193,6 @@ install_dependencies () {
193
193
# adding module web scripting repo and his dependency module server application for PHP
194
194
# SUSEConnect --product sle-module-server-applications/15.6/x86_64
195
195
# SUSEConnect --product sle-module-web-scripting/15.6/x86_64
196
- # SUSEConnect --product PackageHub/15.6/x86_64
197
196
# download the prerequisites packages
198
197
${PACKAGE_MANAGER} --non-interactive install php8-fpm php8
199
198
# create a default default php-fpm conf as it is required during the installer
You can’t perform that action at this time.
0 commit comments