2 # Make the folder in /tmp and make sure that it is writeable
4 chmod 777 /tmp/charsel/
6 # Makes charsel executeable
10 mkdir -p ~/.local/share/charsel/charfiles/
12 # 2 sets of commands for whether it is root or not
13 if [ `whoami` == root ]; then
14 mkdir -p /usr/share/charsel/charfiles/
15 cp charfiles/* /usr/share/charsel/charfiles/
16 mkdir /usr/share/doc/charsel
17 cp README.md /usr/share/doc/charsel/
18 cp src/motd /usr/share/charsel
19 cp src/charsel /usr/bin/
22 cp charfiles/* ~/.local/share/charsel/charfiles/
23 cp src/motd ~/.local/share/charsel/
24 cp src/charsel ~/.local/bin/