Remove yes/no check from install.sh
This commit is contained in:
parent
7a82e7b365
commit
f9148c36db
|
@ -51,13 +51,7 @@ app_guid=${app_guid:-media}
|
||||||
|
|
||||||
echo "This will install [${app^}] to [$bindir] and use [$datadir] for the AppData Directory"
|
echo "This will install [${app^}] to [$bindir] and use [$datadir] for the AppData Directory"
|
||||||
echo "${app^} will run as the user [$app_uid] and group [$app_guid]. By continuing, you've confirmed that that user and group will have READ and WRITE access to your Media Library and Download Client Completed Download directories"
|
echo "${app^} will run as the user [$app_uid] and group [$app_guid]. By continuing, you've confirmed that that user and group will have READ and WRITE access to your Media Library and Download Client Completed Download directories"
|
||||||
echo "Continue with the installation [Yes/No]?"
|
read -n 1 -r -s -p $'Press enter to continue or ctrl+c to exit...\n'
|
||||||
select yn in "Yes" "No"; do
|
|
||||||
case $yn in
|
|
||||||
Yes) break ;;
|
|
||||||
No) exit 0 ;;
|
|
||||||
esac
|
|
||||||
done
|
|
||||||
|
|
||||||
# Create User / Group as needed
|
# Create User / Group as needed
|
||||||
if [ "$app_guid" != "$app_uid" ]; then
|
if [ "$app_guid" != "$app_uid" ]; then
|
||||||
|
|
Loading…
Reference in New Issue