summaryrefslogtreecommitdiff
path: root/install.sh
diff options
context:
space:
mode:
authortylermurphy534 <tylermurphy534@gmail.com>2022-11-11 15:16:37 -0500
committertylermurphy534 <tylermurphy534@gmail.com>2022-11-11 15:16:37 -0500
commit0443572477787936df9561371be45a038839f3e2 (patch)
treea6fdbe68a374dda0a2351807d89787894799d4ad /install.sh
parentdoc string, refactor, config token error (diff)
downloadcrab-0443572477787936df9561371be45a038839f3e2.tar.gz
crab-0443572477787936df9561371be45a038839f3e2.tar.bz2
crab-0443572477787936df9561371be45a038839f3e2.zip
0.0.6
Diffstat (limited to 'install.sh')
-rwxr-xr-xinstall.sh21
1 files changed, 0 insertions, 21 deletions
diff --git a/install.sh b/install.sh
deleted file mode 100755
index 6c7b019..0000000
--- a/install.sh
+++ /dev/null
@@ -1,21 +0,0 @@
-#!/bin/bash
-
-if [[ $(/usr/bin/id -u) -ne 0 ]]; then
- echo "Please run this as root"
- exit
-fi
-
-# Copy executable to bin
-cp ./target/release/crab /usr/bin/crab
-chown root:root /bin/crab
-chmod 4755 /bin/crab
-
-# Set up config files
-cp pam /etc/pam.d/crab
-chmod 600 /etc/pam.d/crab
-
-mkdir /usr/share/crab
-chmod 600 /usr/share/crab
-
-cp conf /usr/share/crab/crab.conf
-chmod 600 /usr/share/crab/crab.conf