i mean it seems to be less of a clusterfuck

This commit is contained in:
Brendan Webb 2021-08-27 12:06:22 +10:00
parent 8164fff194
commit bf630f1d4b
1 changed files with 5 additions and 2 deletions

7
wpset
View File

@ -1,4 +1,7 @@
#!/bin/bash
# setting USER variable
USER=$(logname)
# WPDL
VERSION=""
CONF="/home/$USER/.config/wpdl.conf"
@ -6,8 +9,7 @@ source $CONF
source /etc/wpdl/parse
# updater
if [ "$1" = "-u" ]; then
# setting USER variable
USER=$(logname)
# root check
ROOT=$(whoami)
@ -125,3 +127,4 @@ else
wplist
fi
fi
fi