Make clearing up output more in line with git output
This commit is contained in:
parent
f982d225e5
commit
9baf41431d
|
@ -28,7 +28,7 @@ writeShellApplication
|
||||||
echo "NixOS Installing..."
|
echo "NixOS Installing..."
|
||||||
sudo nixos-install --flake .#"''${dir}"
|
sudo nixos-install --flake .#"''${dir}"
|
||||||
popd > /dev/null
|
popd > /dev/null
|
||||||
echo "Cleaning up repository in tmp..."
|
echo "Cleaning up repository in '/tmp/install-nix'..."
|
||||||
rm -rf ./install-nix
|
rm -rf ./install-nix
|
||||||
popd > /dev/null
|
popd > /dev/null
|
||||||
notify-send -e "NixOS Install Succeeded!" --icon=software-update-available
|
notify-send -e "NixOS Install Succeeded!" --icon=software-update-available
|
||||||
|
|
|
@ -19,7 +19,7 @@ writeShellApplication
|
||||||
echo "NixOS Rebuilding..."
|
echo "NixOS Rebuilding..."
|
||||||
sudo nixos-rebuild switch --flake .#
|
sudo nixos-rebuild switch --flake .#
|
||||||
popd > /dev/null
|
popd > /dev/null
|
||||||
echo "Cleaning up repository in /tmp..."
|
echo "Cleaning up repository in '/tmp/rebuild'..."
|
||||||
rm -rf ./rebuild
|
rm -rf ./rebuild
|
||||||
popd > /dev/null
|
popd > /dev/null
|
||||||
notify-send -e "NixOS Rebuilt OK!" --icon=software-update-available
|
notify-send -e "NixOS Rebuilt OK!" --icon=software-update-available
|
||||||
|
|
Loading…
Reference in a new issue