diff options
Diffstat (limited to 'install.sh')
-rwxr-xr-x | install.sh | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -6,11 +6,12 @@ if [[ $(/usr/bin/id -u) -ne 0 ]]; then fi # Copy executable to bin -cp ./target/release/crab /bin/crab +cp ./target/release/crab /usr/bin/crab chown root:root /bin/crab chmod 6755 /bin/crab # Set up config files cp pam /etc/pam.d/crab -cp -n conf /etc/crab.conf -chmod 660 /etc/crab.conf +mkdir /usr/share/crab +cp conf /usr/share/crab/crab.conf +chmod 660 /usr/share/crab/crab.conf |