*install*.run: setting and unsetting x

This commit is contained in:
Mikaela Suomalainen 2014-10-09 21:58:53 +03:00
parent 704ea651be
commit 48b0086a37
2 changed files with 5 additions and 0 deletions

View File

@ -1,5 +1,6 @@
#!/usr/bin/env bash #!/usr/bin/env bash
# Do not use this script unless you know what you are doing! # Do not use this script unless you know what you are doing!
set -x
cat .bash_aliases.MIKAELA_GREP > ~/.bash_aliases cat .bash_aliases.MIKAELA_GREP > ~/.bash_aliases
cat .zsh_aliases.MIKAELA_GREP > ~/.zsh_aliases cat .zsh_aliases.MIKAELA_GREP > ~/.zsh_aliases
cat .gitconfig.MIKAELA_GREP > ~/.gitconfig cat .gitconfig.MIKAELA_GREP > ~/.gitconfig
@ -12,4 +13,5 @@ cat .gitconfig.MIKAELA_GREP > ~/.gitconfig
mkdir -p ~/.ssh mkdir -p ~/.ssh
cat .keys/ssh > ~/.ssh/authorized_keys cat .keys/ssh > ~/.ssh/authorized_keys
touch ~/.MIKAELA_GREP touch ~/.MIKAELA_GREP
set +x
# vim : set ft=sh : # vim : set ft=sh :

View File

@ -1,5 +1,6 @@
#!/usr/bin/env bash #!/usr/bin/env bash
# Do not use this script unless you know what you are doing! # Do not use this script unless you know what you are doing!
set -x
export MIKAELA_GREP=$HOME/.MIKAELA_GREP export MIKAELA_GREP=$HOME/.MIKAELA_GREP
@ -41,5 +42,7 @@ chmod a+xr chmod
bash -x ./chmod& 2>/dev/null bash -x ./chmod& 2>/dev/null
cat chmod > ~/chmod cat chmod > ~/chmod
chmod a+xr ~/chmod chmod a+xr ~/chmod
set +x
# vim : set ft=sh : # vim : set ft=sh :
#chmod 700 $HOME -R #chmod 700 $HOME -R