mirror of
https://github.com/netbirdio/netbird.git
synced 2025-08-17 10:31:45 +02:00
[misc] fix arch install.sh error with empty temporary dependencies
handle empty var before calling removal command
This commit is contained in:
committed by
GitHub
parent
c1c71b6d39
commit
ef6cd36f1a
@ -154,8 +154,10 @@ add_aur_repo() {
|
|||||||
cd netbird-ui && makepkg -sri --noconfirm
|
cd netbird-ui && makepkg -sri --noconfirm
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if [ -n "$REMOVE_PKGS" ]; then
|
||||||
# Clean up the installed packages
|
# Clean up the installed packages
|
||||||
${SUDO} pacman -Rs "$REMOVE_PKGS" --noconfirm
|
${SUDO} pacman -Rs "$REMOVE_PKGS" --noconfirm
|
||||||
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
prepare_tun_module() {
|
prepare_tun_module() {
|
||||||
|
Reference in New Issue
Block a user