summaryrefslogtreecommitdiff
path: root/install.sh
diff options
context:
space:
mode:
authortylermurphy534 <tylermurphy534@gmail.com>2022-11-19 17:37:56 +0000
committertylermurphy534 <tylermurphy534@gmail.com>2022-11-19 17:37:56 +0000
commitce6af95b74106d65c3d12f745d215732076562b9 (patch)
tree6f6c2ef19b93c80b9cc4567a4a94ce3621ff8eb4 /install.sh
parentupdate aur depends (diff)
parentfix install file part 2 (diff)
downloadcrab-ce6af95b74106d65c3d12f745d215732076562b9.tar.gz
crab-ce6af95b74106d65c3d12f745d215732076562b9.tar.bz2
crab-ce6af95b74106d65c3d12f745d215732076562b9.zip
Merge pull request '0.6.0' (#1) from dev into main
Reviewed-on: https://g.tylerm.dev/tylermurphy534/crab/pulls/1
Diffstat (limited to '')
-rwxr-xr-xinstall.sh17
1 files changed, 0 insertions, 17 deletions
diff --git a/install.sh b/install.sh
deleted file mode 100755
index 716d9b1..0000000
--- a/install.sh
+++ /dev/null
@@ -1,17 +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 6755 /bin/crab
-
-# Set up config files
-cp pam /etc/pam.d/crab
-mkdir /usr/share/crab
-cp conf /usr/share/crab/crab.conf
-chmod 660 /usr/share/crab/crab.conf