|
|
@ -12,7 +12,7 @@ SU_CMD=$(command -v sudo || command -v doas)
|
|
|
|
|
|
|
|
|
|
|
|
# doas requires a double dash if the command it runs will include any dashes,
|
|
|
|
# doas requires a double dash if the command it runs will include any dashes,
|
|
|
|
# so append a double dash to the command
|
|
|
|
# so append a double dash to the command
|
|
|
|
[[ $SU_CMD == *doas ]] && $SU_CMD="$SU_CMD -- "
|
|
|
|
[[ $SU_CMD == *doas ]] && SU_CMD="$SU_CMD -- "
|
|
|
|
|
|
|
|
|
|
|
|
# Correctly identify the os-release file.
|
|
|
|
# Correctly identify the os-release file.
|
|
|
|
for os_release in ${OS_RELEASE_FILES[@]} ; do
|
|
|
|
for os_release in ${OS_RELEASE_FILES[@]} ; do
|
|
|
|