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 3434 ZYPPER_OPTIONS : " "
3535 SUSE_PACKAGE : " "
3636 script :
37- - ${PACKAGE_MANAGER} install -y which ncurses procps ${SUSE_PACKAGE}
37+ - ${PACKAGE_MANAGER} install -y ncurses procps ${SUSE_PACKAGE}
3838 - bash passbolt-repo-setup."${PASSBOLT_FLAVOUR}".sh
3939 - ${PACKAGE_MANAGER} ${ZYPPER_OPTIONS} install -y passbolt-"${PASSBOLT_FLAVOUR}"-server
4040
Original file line number Diff line number Diff line change @@ -141,13 +141,13 @@ os_detect () {
141141 then
142142 CODENAME=" focal"
143143 fi
144- elif which zypper > /dev/null 2>&1
144+ elif command -v zypper > /dev/null 2>&1
145145 then
146146 PACKAGE_MANAGER=zypper
147- elif which dnf > /dev/null 2>&1
147+ elif command -v dnf > /dev/null 2>&1
148148 then
149149 PACKAGE_MANAGER=dnf
150- elif which yum > /dev/null 2>&1
150+ elif command -v yum > /dev/null 2>&1
151151 then
152152 PACKAGE_MANAGER=yum
153153 else
@@ -193,7 +193,6 @@ install_dependencies () {
193193 # adding module web scripting repo and his dependency module server application for PHP
194194 # SUSEConnect --product sle-module-server-applications/15.6/x86_64
195195 # SUSEConnect --product sle-module-web-scripting/15.6/x86_64
196- # SUSEConnect --product PackageHub/15.6/x86_64
197196 # download the prerequisites packages
198197 ${PACKAGE_MANAGER} --non-interactive install php8-fpm php8
199198 # 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 () {
141141 then
142142 CODENAME=" focal"
143143 fi
144- elif which zypper > /dev/null 2>&1
144+ elif command -v zypper > /dev/null 2>&1
145145 then
146146 PACKAGE_MANAGER=zypper
147- elif which dnf > /dev/null 2>&1
147+ elif command -v dnf > /dev/null 2>&1
148148 then
149149 PACKAGE_MANAGER=dnf
150- elif which yum > /dev/null 2>&1
150+ elif command -v yum > /dev/null 2>&1
151151 then
152152 PACKAGE_MANAGER=yum
153153 else
@@ -193,7 +193,6 @@ install_dependencies () {
193193 # adding module web scripting repo and his dependency module server application for PHP
194194 # SUSEConnect --product sle-module-server-applications/15.6/x86_64
195195 # SUSEConnect --product sle-module-web-scripting/15.6/x86_64
196- # SUSEConnect --product PackageHub/15.6/x86_64
197196 # download the prerequisites packages
198197 ${PACKAGE_MANAGER} --non-interactive install php8-fpm php8
199198 # 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