fix
This commit is contained in:
parent
82b19bc718
commit
f7f01cbf7b
1 changed files with 2 additions and 4 deletions
|
|
@ -1,15 +1,13 @@
|
|||
#!/bin/bash
|
||||
|
||||
set -e
|
||||
|
||||
function main {
|
||||
mv -f .* $HOME
|
||||
mv -f bin $HOME
|
||||
cd $HOME
|
||||
git update --init --recursive
|
||||
git submodule update --init --recursive
|
||||
}
|
||||
|
||||
read -p "This will overwrite files in $HOME. Type 'yes' to confirm." confirm
|
||||
read -p "This will overwrite files in $HOME. Type 'yes' to confirm: " confirm
|
||||
if [ "$confirm" == "yes" ]; then
|
||||
main;
|
||||
fi
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue