Remove setup files after installation
This commit is contained in:
parent
a98f363eaa
commit
4fe88bba12
1 changed files with 9 additions and 1 deletions
|
@ -59,7 +59,15 @@ else
|
|||
end
|
||||
|
||||
and runHook postInstall || true
|
||||
echo "The installation finished successfully!"
|
||||
and sudo git config remove-section --system safe
|
||||
|
||||
and begin
|
||||
set -l projectPath (realpath "$(status dirname)/../../..")
|
||||
cd (dirname "$projectPath")
|
||||
sudo rm -rf "$projectPath"
|
||||
end
|
||||
|
||||
and echo "The installation finished successfully!"
|
||||
and echo "This machine will reboot in 5 seconds..."
|
||||
and echo "Press CTRL-C to abort..."
|
||||
and sleep 5
|
||||
|
|
Loading…
Reference in a new issue