mirror of
https://gitea.blesmrt.net/mikaela/shell-things.git
synced 2025-01-08 19:32:31 +01:00
Fixed upgrade,.sh
Added touchings of files.
This commit is contained in:
parent
6242d1dcc6
commit
57a85afc11
@ -1,9 +1,14 @@
|
||||
#!/bin/bash
|
||||
echo "Backing up files..."
|
||||
touch ~/.bash_exports
|
||||
cat ~/.bash_exports > ~/.bash_exports.old.backup
|
||||
touch ~/.bash_profile
|
||||
cat ~/.bash_profile > ~/.bash_profile.old.backup
|
||||
touch ~/.bash_aliases
|
||||
cat ~/.bash_aliases > ~/.bash_aliases.old.backup
|
||||
touch ~/.bash_functions
|
||||
cat ~/.bash_functions > ~/.bash_functions.old.backup
|
||||
touch ~/.bashrc
|
||||
cat ~/.bashrc > ~/.bashrc.old.backup
|
||||
echo "Installing new files..."
|
||||
cat bash_exports > ~/.bash_exports
|
||||
|
Loading…
Reference in New Issue
Block a user