blob: 877fef5fb0618344ee9af6b446cfd3629ff19105 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
#!/usr/bin/env sh
set -e
if [ "$(whoami)" != "$(
logname 2>/dev/null || echo "${USER:-${LOGNAME}}")" ]
then
echo >&2
echo >&2 'This command will upgrade files in 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"
|