mirror of
https://github.com/helixarch/debtap
synced 2024-11-22 02:10:26 +01:00
Update
This commit is contained in:
parent
d34b5709c5
commit
a08b57a14e
1
debtap
1
debtap
|
@ -27,6 +27,7 @@ elif [[ "$1" == "-u" ]] || [[ "$1" = "--u" ]] || [[ "$1" == "-update" ]] || [[ "
|
|||
if [[ $EUID != 0 ]]; then
|
||||
echo -e "${red}Error: You must run this command with root privileges${NC}"; exit 1
|
||||
else
|
||||
mkdir -p /var/cache/debtap 2> /dev/null
|
||||
echo -e "${lightgreen}==>${NC} ${bold}Synchronizing pkgfile database...${normal}"
|
||||
pkgfile -u
|
||||
if [[ $(echo $?) != 0 ]]; then
|
||||
|
|
Loading…
Reference in New Issue
Block a user