mstinaff / PMS_Updater

Shell script for updating the Plex Media Server inside the FreeNAS Plex plugin
MIT License
439 stars 91 forks source link

option -l is not recognized. #26

Closed janusn closed 1 year ago

janusn commented 6 years ago

When running the following command PMS_Updater.sh -l It throws the following message:

No arg for -l option usage: ./PMS_Updater.sh options

This script will search the plex.tv download site for a download link and if it is newer than the currently installed version the script will download and optionaly install the new version.

OPTIONS: -u PlexPass username If -u is specified without -p then the script will prompt the user to enter the password when needed -p PlexPass password -c PlexPass user/password file When wget is run with username and password on the command line, that information is displayed in the process list for all to see. A more secure method is to create a file readable only by root that is formatted like this: user={Your Username Here} password={Your Password Here} -l Local file to install instead of latest from Plex.tv -d download folder (default /tmp) Ignored if -l is used -a Auto Update to newer version -f Force Update even if version is not newer -r Remove update packages older than current version Done before any update actions are taken. -v Verbose -n Use normal version (not PlexPass) version`

janusn commented 6 years ago

After reading the actual script, I have figured out that the actual local file has to be specified after the argument -l. Sorry about that.

On the other hand, could the usage message be updated with this information?

github-actions[bot] commented 1 year ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.