mirror of
https://github.com/mrworf/plexupdate.git
synced 2025-08-20 21:33:16 -07:00
Clean up sudo message prompt in installer
This commit is contained in:
parent
242946d37d
commit
11518ed8d1
1 changed files with 1 additions and 1 deletions
|
@ -255,7 +255,7 @@ save_config() {
|
||||||
|
|
||||||
if [ $EUID -ne 0 ]; then
|
if [ $EUID -ne 0 ]; then
|
||||||
echo
|
echo
|
||||||
echo "This script needs to install files in system locations and will need to additional permissions (root) from you to continue."
|
echo "This script needs to install files in system locations and will ask for sudo/root permissions now"
|
||||||
sudo -v || abort "Root permissions are required for setup, cannot continue"
|
sudo -v || abort "Root permissions are required for setup, cannot continue"
|
||||||
elif [ ! -z "$SUDO_USER" ]; then
|
elif [ ! -z "$SUDO_USER" ]; then
|
||||||
echo
|
echo
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue