mirror of
https://git.pionaiki.com/marta/nixie.git
synced 2025-10-09 05:47:21 +00:00
Make pull optional
This commit is contained in:
parent
4b5be69d3c
commit
9ce03b8fca
1 changed files with 4 additions and 2 deletions
6
nixie
6
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
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue