mirror of
https://gitea.blesmrt.net/mikaela/shell-things.git
synced 2025-01-09 11:52:31 +01:00
Fixed upgrade.sh.
This commit is contained in:
parent
fef37c72a2
commit
68253e3c49
@ -1,6 +1,5 @@
|
||||
#!/bin/bash
|
||||
echo "If you are upgrading, press ctrl + c NOW! You have 15 seconds time to cancel this.
|
||||
re running this script will overwrite your backups and it makes uninstall.sh useless."
|
||||
echo "If you are upgrading, press ctrl + c NOW! You have 15 seconds time to cancel this. rerunning this script will overwrite your backups and it makes uninstall.sh useless."
|
||||
echo "Taking backups..."
|
||||
touch ~/.bashrc # Creates .bashrc if you don't have one.
|
||||
cat ~/.bashrc > ~/.bashrc.default.backup # Backups your current .bashrc
|
||||
|
5
upgrade.sh
Normal file → Executable file
5
upgrade.sh
Normal file → Executable file
@ -10,6 +10,5 @@ cat bash_exports > ~/.bash_exports
|
||||
cat bash_profile > ~/.bash_profile
|
||||
cat bash_aliases > ~/.bash_aliases
|
||||
cat bash_functions > ~/.bash_functions
|
||||
cat bashrc ~/.bashrc
|
||||
echo "Installation has been completed. You might now need to source your ~/.bashrc for changes to
|
||||
happen."
|
||||
cat bashrc > ~/.bashrc
|
||||
echo "Installation has been completed. You might now need to source your ~/.bashrc for changes to happen."
|
||||
|
Loading…
Reference in New Issue
Block a user