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..."
|
||||
sudo nixos-install --flake .#"''${dir}"
|
||||
popd > /dev/null
|
||||
echo "Cleaning up repository in tmp..."
|
||||
echo "Cleaning up repository in '/tmp/install-nix'..."
|
||||
rm -rf ./install-nix
|
||||
popd > /dev/null
|
||||
notify-send -e "NixOS Install Succeeded!" --icon=software-update-available
|
||||
|
|
|
@ -19,7 +19,7 @@ writeShellApplication
|
|||
echo "NixOS Rebuilding..."
|
||||
sudo nixos-rebuild switch --flake .#
|
||||
popd > /dev/null
|
||||
echo "Cleaning up repository in /tmp..."
|
||||
echo "Cleaning up repository in '/tmp/rebuild'..."
|
||||
rm -rf ./rebuild
|
||||
popd > /dev/null
|
||||
notify-send -e "NixOS Rebuilt OK!" --icon=software-update-available
|
||||
|
|
Loading…
Reference in a new issue