fix 'base' package error

This commit is contained in:
haibiao.xiao 2021-01-13 10:31:37 +08:00
parent 44aff8c10d
commit fbd932fc84

3
debtap
View File

@ -113,7 +113,8 @@ elif [[ $update == set ]]; then
echo -e "${red}Downloading failed. Exiting...${NC}"; exit 1 echo -e "${red}Downloading failed. Exiting...${NC}"; exit 1
else else
echo -e "${lightgreen}==>${NC} ${bold}Generating base group packages list...${normal}" echo -e "${lightgreen}==>${NC} ${bold}Generating base group packages list...${normal}"
pacman -Qqg base > /var/cache/debtap/base-packages #pacman -Qqg base > /var/cache/debtap/base-packages
pacman -Qi base | grep Depends | cut -d: -f2
chmod 644 /var/cache/debtap/* chmod 644 /var/cache/debtap/*
echo -e "${lightgreen}==>${NC} ${bold}All steps successfully completed!${normal}"; exit 0 echo -e "${lightgreen}==>${NC} ${bold}All steps successfully completed!${normal}"; exit 0
fi fi