summaryrefslogtreecommitdiff
path: root/build.sh
diff options
context:
space:
mode:
authortylermurphy534 <tylermurphy534@gmail.com>2022-11-08 22:07:02 -0500
committertylermurphy534 <tylermurphy534@gmail.com>2022-11-08 22:07:02 -0500
commitc0f8085da8b79fc448bb6c1d7f1875228c42d5b0 (patch)
tree7e0a7a04cf5eda86befb02c73bddac3da4715b72 /build.sh
parentfix non root tamper persist files (diff)
downloadcrab-c0f8085da8b79fc448bb6c1d7f1875228c42d5b0.tar.gz
crab-c0f8085da8b79fc448bb6c1d7f1875228c42d5b0.tar.bz2
crab-c0f8085da8b79fc448bb6c1d7f1875228c42d5b0.zip
aur support
Diffstat (limited to 'build.sh')
-rwxr-xr-xbuild.sh21
1 files changed, 0 insertions, 21 deletions
diff --git a/build.sh b/build.sh
deleted file mode 100755
index b9e3c57..0000000
--- a/build.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
-
-# 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
-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