X-Git-Url: https://git.armaanb.net/?p=charsel.git;a=blobdiff_plain;f=INSTALL;h=74dd1d8fbd619a43dc6a6c97e83aadf4496e09dd;hp=c7eb02e31043fa440710f1b71e215116e0c6db0e;hb=e36a2f02097f2db0b61dfda774514a60ecf50014;hpb=82bf6ead56209e4211527cf0a99d262bbb4bb28d diff --git a/INSTALL b/INSTALL index c7eb02e..74dd1d8 100755 --- a/INSTALL +++ b/INSTALL @@ -4,11 +4,14 @@ mkdir /tmp/charsel/ chmod 777 /tmp/charsel/ # Makes charsel executeable -chmod +x charsel +chmod +x src/charsel + +# Makes local folder +mkdir -p ~/.local/share/charsel/charfiles/ # 2 sets of commands for whether it is root or not if [ `whoami` == root ]; then - mkdir -p /usr/share/charsel/charfiles + mkdir -p /usr/share/charsel/charfiles/ cp charfiles/* /usr/share/charsel/charfiles/ mkdir /usr/share/doc/charsel cp README.md /usr/share/doc/charsel/ @@ -16,8 +19,7 @@ if [ `whoami` == root ]; then cp src/charsel /usr/bin/ exit else - mkdir -p ~/.local/share/charsel/charfiles - cp charfiles/* ~/.local/share/charsel/charfiles + cp charfiles/* ~/.local/share/charsel/charfiles/ cp src/motd ~/.local/share/charsel/ cp src/charsel ~/.local/bin/ exit