diff options
Diffstat (limited to '')
-rwxr-xr-x | install.sh (renamed from build.sh) | 9 |
1 files changed, 2 insertions, 7 deletions
@@ -5,12 +5,6 @@ if [[ $(/usr/bin/id -u) -ne 0 ]]; then exit fi -# Make sure rust is able to build as root -rustup default stable - -# Build crab -cargo build --release - # Copy executable to bin cp ./target/release/crab /bin/crab chown root:root /bin/crab @@ -18,4 +12,5 @@ chmod 6755 /bin/crab # Set up config files cp pam /etc/pam.d/crab -cp -n conf /etc/crab.conf
\ No newline at end of file +cp -n conf /etc/crab.conf +chmod 660 /etc/crab.conf |