Make pull optional

This commit is contained in:
Marta 2025-06-08 17:41:38 +02:00
parent 4b5be69d3c
commit 9ce03b8fca

2
nixie
View file

@ -108,8 +108,10 @@ pushd /etc/nixos > /dev/null
echo -e "${IPurple}Running pixie. ${Purple}You might be asked to input the root password.${NC}"
sudo echo -n
if [ "$1" == "pull" ]; then
echo -e "${IPurple}Pulling from origin...${NC}"
sudo git pull
fi
CHOOSE_CASE