diff options
author | Claudia | 2017-05-07 14:51:30 +0200 |
---|---|---|
committer | Claudia Pellegrino | 2017-06-18 16:39:37 +0200 |
commit | 52c2c4ffdd38f76ce597b06688f8280f9114761e (patch) | |
tree | 65a38e7f2630f283f2b46737e5f0943807ad47ee /install.sh.wrapper | |
parent | dec579816e95dd367923ee44e3cfcc601679ec02 (diff) | |
download | aur-52c2c4ffdd38f76ce597b06688f8280f9114761e.tar.gz |
Combine post-install script chain
Diffstat (limited to 'install.sh.wrapper')
-rwxr-xr-x | install.sh.wrapper | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/install.sh.wrapper b/install.sh.wrapper new file mode 100755 index 000000000000..4eaa5bcdcaff --- /dev/null +++ b/install.sh.wrapper @@ -0,0 +1,14 @@ +#!/usr/bin/env sh +set -e + +if [[ "$(whoami)" != "$(logname)" ]]; then + echo >&2 'This command will install files into your' \ + 'home directory. It must be run without sudo.' + exit 1 +fi + +cp -ruvP --preserve=mode,links -t ~/ \ + "/usr/share/bash-it-git/home_factory/.bash_it" + +cd ~/.bash_it +./install.sh "$@" |