[variants] Improve pacman code comments

This commit is contained in:
Dennis ten Hoove 2024-08-23 15:28:34 +02:00
parent 8c6ba640ad
commit 784ef43198
No known key found for this signature in database
GPG key ID: 2BA91DC2563B83D1
3 changed files with 3 additions and 3 deletions

View file

@ -3,7 +3,7 @@
# Elevate permissions to root
[[ $EUID -eq 0 ]] || exec sudo bash $0 $@
[[ $@ =~ (-r|--root|-Q*|-F*) ]] && no_check=1 # Do not check if custom root is defined
[[ $@ =~ (-r|--root|-Q*|-F*) ]] && no_check=1 # Do not check if custom root or -Q/-F are defined
[[ $LD_LIBRARY_PATH =~ (libfakeroot) ]] && no_check=1 # Do not check if running as fakeroot
if [[ ! $no_check ]]; then

View file

@ -3,7 +3,7 @@
# Elevate permissions to root
[[ $EUID -eq 0 ]] || exec sudo bash $0 $@
[[ $@ =~ (-r|--root|-Q*|-F*) ]] && no_check=1 # Do not check if custom root is defined
[[ $@ =~ (-r|--root|-Q*|-F*) ]] && no_check=1 # Do not check if custom root or -Q/-F are defined
[[ $LD_LIBRARY_PATH =~ (libfakeroot) ]] && no_check=1 # Do not check if running as fakeroot
if [[ ! $no_check ]]; then

View file

@ -3,7 +3,7 @@
# Elevate permissions to root
[[ $EUID -eq 0 ]] || exec sudo bash $0 $@
[[ $@ =~ (-r|--root|-Q*|-F*) ]] && no_check=1 # Do not check if custom root is defined
[[ $@ =~ (-r|--root|-Q*|-F*) ]] && no_check=1 # Do not check if custom root or -Q/-F are defined
[[ $LD_LIBRARY_PATH =~ (libfakeroot) ]] && no_check=1 # Do not check if running as fakeroot
if [[ ! $no_check ]]; then