diff --git a/nixie b/nixie index 2492a24..7b204d3 100755 --- a/nixie +++ b/nixie @@ -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 -echo -e "${IPurple}Pulling from origin...${NC}" -sudo git pull +if [ "$1" == "pull" ]; then + echo -e "${IPurple}Pulling from origin...${NC}" + sudo git pull +fi CHOOSE_CASE