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
2
nixie
2
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}"
|
echo -e "${IPurple}Running pixie. ${Purple}You might be asked to input the root password.${NC}"
|
||||||
sudo echo -n
|
sudo echo -n
|
||||||
|
if [ "$1" == "pull" ]; then
|
||||||
echo -e "${IPurple}Pulling from origin...${NC}"
|
echo -e "${IPurple}Pulling from origin...${NC}"
|
||||||
sudo git pull
|
sudo git pull
|
||||||
|
fi
|
||||||
|
|
||||||
CHOOSE_CASE
|
CHOOSE_CASE
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue