|
@@ -4,14 +4,14 @@ put() {
|
4
|
4
|
echo "$1" >> "$HOME/.bashrc"
|
5
|
5
|
}
|
6
|
6
|
|
7
|
|
-mark="# added by https://github.com/AloisMahdal/mydots"
|
|
7
|
+mark="# added by https://gitea.vornet.cz/netvor/mydots"
|
8
|
8
|
if grep -qFe "$mark" "$HOME/.bashrc";
|
9
|
9
|
then
|
10
|
10
|
echo "already set up, giving up";
|
11
|
11
|
exit 1;
|
12
|
12
|
else
|
13
|
13
|
put ''
|
14
|
|
- put '# added by https://github.com/AloisMahdal/mydots'
|
|
14
|
+ put '# added by https://gitea.vornet.cz/netvor/mydots'
|
15
|
15
|
put 'test -f "${HOME}/.bash/head.bashrc" \'
|
16
|
16
|
put ' && . "${HOME}/.bash/head.bashrc"'
|
17
|
17
|
fi
|