You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
true"$0: INFO: $package_name is not installed, ok."
290
+
return 1
291
+
}
292
+
293
+
if [ "${BASH_SOURCE}"="${0}" ];then
294
+
## Script was executed.
295
+
## This is useful to allow non-Bash shell scripts to use this functionality.
296
+
set -o errexit
297
+
set -o nounset
298
+
set -o errtrace
299
+
set -o pipefail
300
+
pkg_installed "$1"
301
+
fi
302
+
##### END pasted by build-dist-installer-cli from file /usr/libexec/helper-scripts/package_installed_check.bsh
303
+
259
304
########################
260
305
## END DEFAULT VALUES ##
261
306
########################
@@ -365,6 +410,9 @@ get_su_cmd(){
365
410
has su && sucmd=su &&break
366
411
[ -z"${sucmd:-}" ] && sucmd=''
367
412
test -z "${sucmd}"&& {
413
+
if pkg_installed user-sysmaint-split;then
414
+
die 1 "${underline}get_su_cmd:${nounderline} Failed to find program to run commands with administrative ('root') privileges. Package 'user-sysmaint-split' detected. You need to boot into sysmaint session."
415
+
fi
368
416
die 1 "${underline}get_su_cmd:${nounderline} Failed to find program to run commands with administrative ('root') privileges. This program requires either one of the following programs to be installed:
0 commit comments