Compare commits
6 Commits
c2bccebbf4
...
main
| Author | SHA1 | Date | |
|---|---|---|---|
| 7e478083e2 | |||
| 85be0b4d27 | |||
| 84d612ea02 | |||
| adc80cc5d3 | |||
| a135a04652 | |||
| 2d95828b3f |
@@ -1,3 +1,8 @@
|
|||||||
# helperScripts
|
# helperScripts
|
||||||
|
|
||||||
Helper Scripts for Task Automation of whatever annoys me
|
Helper Scripts for Task Automation of whatever annoys me
|
||||||
|
|
||||||
|
# Setup
|
||||||
|
```bash
|
||||||
|
curl -fsSL https://git.scypher.org/taicrafter/helperScripts/raw/branch/main/setup.sh | bash
|
||||||
|
```
|
||||||
@@ -1 +1,2 @@
|
|||||||
yay
|
yay
|
||||||
|
makemkv
|
||||||
5
arch/installers/makemkv.sh
Normal file
5
arch/installers/makemkv.sh
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
yay -S makemkv
|
||||||
|
echo "Fixing Drive Permissions..."
|
||||||
|
echo sg | sudo tee /etc/modules-load.d/sg.conf
|
||||||
|
sudo modprobe sg
|
||||||
10
setup.sh
10
setup.sh
@@ -1,5 +1,5 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
URI="https://git.scypher.org/taicrafter/helperScripts/raw/branch/main/"
|
URI="https://git.scypher.org/taicrafter/helperScripts/raw/branch/main"
|
||||||
function _promptBool(){
|
function _promptBool(){
|
||||||
while true; do
|
while true; do
|
||||||
read -r -p "$1 [y/n]: " res < /dev/tty
|
read -r -p "$1 [y/n]: " res < /dev/tty
|
||||||
@@ -41,9 +41,11 @@ function AppInstaller(){
|
|||||||
while IFS= read -r APPNAME; do
|
while IFS= read -r APPNAME; do
|
||||||
#Handle Install
|
#Handle Install
|
||||||
if _promptBool "Install $APPNAME?"; then
|
if _promptBool "Install $APPNAME?"; then
|
||||||
echo "Downloading Installer: $URI/$OS_TYPE/$APPNAME.sh"
|
SOURCE="$URI/$OS_TYPE/installers/$APPNAME.sh"
|
||||||
curl -fsSL "$URI/$OS_TYPE/$APPNAME.sh" -o "$TMP_FILE"
|
echo "Downloading Installer: $SOURCE"
|
||||||
bash "$TMP_FILE"
|
curl -fsSL "$SOURCE" -o "$TMP_FILE"
|
||||||
|
bash "$TMP_FILE" < /dev/tty
|
||||||
|
echo "Finished $APPNAME Installer!"
|
||||||
fi
|
fi
|
||||||
done <<< "$APPS"
|
done <<< "$APPS"
|
||||||
else
|
else
|
||||||
|
|||||||
Reference in New Issue
Block a user