mirror of
https://github.com/mrworf/plexupdate.git
synced 2025-08-14 10:36:55 -07:00
Be sure CRON option is actually set
This commit is contained in:
parent
ca1fe0395e
commit
411cf45b4a
1 changed files with 1 additions and 0 deletions
|
@ -245,6 +245,7 @@ configure_cron() {
|
|||
echo
|
||||
echo -n "Would you like to set up automatic daily updates for Plex? "
|
||||
if yesno $CRON; then
|
||||
CRON=yes
|
||||
if [ $(sudo find -L "${FULL_PATH}" -perm /002 -or -not -uid 0 -or -not -gid 0 | wc -l) -ne 0 ]; then
|
||||
echo
|
||||
echo "WARNING: For security reasons, plexupdate needs to be installed as root in order to run automatically. In order to finish setting up automatic updates, we will change the ownership of '${FULL_PATH}' to root:root."
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue