i mean it seems to be less of a clusterfuck
This commit is contained in:
parent
8164fff194
commit
bf630f1d4b
7
wpset
7
wpset
@ -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
|
Loading…
Reference in New Issue
Block a user