added basic setup for arch and debian based systems
This commit is contained in:
14
dist/apt.sh
vendored
Executable file
14
dist/apt.sh
vendored
Executable file
@@ -0,0 +1,14 @@
|
||||
#!/bin/bash
|
||||
|
||||
PACKEGES_FILE="dist/packages.txt"
|
||||
|
||||
if [ ! -f "$PACKEGES_FILE" ]; then
|
||||
echo "Packages file not found: $PACKEGES_FILE"
|
||||
exit 1
|
||||
else
|
||||
mapfile -t packages < "$PACKEGES_FILE"
|
||||
sudo apt update
|
||||
sudo apt install -y "${packages[@]}"
|
||||
fi
|
||||
|
||||
|
||||
Reference in New Issue
Block a user