mirror of
https://git.pionaiki.com/marta/nixie.git
synced 2025-10-09 05:47:21 +00:00
Flake update can fail actually
This commit is contained in:
parent
9ce03b8fca
commit
016d3b27a1
1 changed files with 5 additions and 0 deletions
5
nixie
5
nixie
|
@ -78,6 +78,11 @@ UPDATE () {
|
||||||
*)
|
*)
|
||||||
echo -e "${IPurple}Updating flake.lock..."
|
echo -e "${IPurple}Updating flake.lock..."
|
||||||
sudo nix flake update
|
sudo nix flake update
|
||||||
|
if [ $? -ne 0 ]; then
|
||||||
|
echo -e "[ ${Red}error ${NC}] ${Red}Updating flake.lock failed.${NC}"
|
||||||
|
CHOOSE_CASE
|
||||||
|
QUIT
|
||||||
|
fi
|
||||||
echo -e -n "Updated. "
|
echo -e -n "Updated. "
|
||||||
BUILD
|
BUILD
|
||||||
;;
|
;;
|
||||||
|
|
Loading…
Add table
Reference in a new issue