-
Notifications
You must be signed in to change notification settings - Fork 0
/
install
executable file
·87 lines (56 loc) · 1.37 KB
/
install
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
#!/bin/bash
echo ""
echo "...installing galledanza package `git describe --tags`"
echo ""
galledanza_dir=$PWD
echo ""
echo "...installing custom $galledanza_dir/.bash_profile"
echo ""
cat <<EOT >> ~/.bash_profile
# added by galledanza `git describe --tags` installer
if [ -f $galledanza_dir/.bash_profile ]; then
. $galledanza_dir/.bash_profile
fi
EOT
. ~/.bash_profile
cat $galledanza_dir/.bash_profile
echo ""
echo "...user $galledanza_dir/.bash_profile installed."
echo ""
echo ""
echo "...installing custom $galledanza_dir/.bashrc"
echo ""
cat <<EOT >> ~/.bashrc
# added by galledanza `git describe --tags` installer
if [ -f $galledanza_dir/.bashrc ]; then
. $galledanza_dir/.bashrc
fi
EOT
. ~/.bashrc
cat $galledanza_dir/.bashrc
echo ""
echo "...user $galledanza_dir/.bashrc installed."
echo ""
echo ""
echo "...installing custom $galledanza_dir/.vimrc"
echo ""
cat <<EOT >> ~/.vimrc
" added by galledanza `git describe --tags` installer
if filereadable("$galledanza_dir/.vimrc")
so $galledanza_dir/.vimrc
endif
EOT
cat $galledanza_dir/.vimrc
echo ""
echo "...user $galledanza_dir/.vimrc installed."
echo ""
echo ""
echo "...setting custom $galledanza_dir/.config"
echo ""
. $galledanza_dir/.config
cat $galledanza_dir/.config
echo ""
echo "...user $galledanza_dir/.config set."
echo ""
echo "...the galledanza package installation is completed."
echo ""