mirror of
https://github.com/mrworf/plexupdate.git
synced 2025-08-20 05:13:19 -07:00
More quoting fixes
This commit is contained in:
parent
70868f6e21
commit
e95078efff
1 changed files with 2 additions and 2 deletions
|
@ -18,7 +18,7 @@ install() {
|
|||
|
||||
[ -z "$DISTRO_INSTALL" ] && check_distro
|
||||
|
||||
if [ $EUID != 0 ]; then
|
||||
if [ $EUID -ne 0 ]; then
|
||||
sudo $DISTRO_INSTALL $1
|
||||
else
|
||||
$DISTRO_INSTALL $1
|
||||
|
@ -281,7 +281,7 @@ configure_cron() {
|
|||
save_config() {
|
||||
CONFIGTEMP=$(mktemp /tmp/plexupdate.XXX)
|
||||
for VAR in $1; do
|
||||
if [ ! -z ${!VAR} ]; then
|
||||
if [ ! -z "${!VAR}" ]; then
|
||||
echo "${VAR}='${!VAR}'" >> $CONFIGTEMP
|
||||
fi
|
||||
done
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue