This commit is contained in:
2026-03-15 04:54:51 +01:00
parent 0fb8fe5a66
commit 7ac487f640
81 changed files with 3867 additions and 0 deletions

17
lib/package.sh Normal file
View File

@@ -0,0 +1,17 @@
#!/usr/bin/env bash
package_is_installed() {
dpkg -s "$1" >/dev/null 2>&1
}
package_refresh_indexes() {
apt-get update
}
package_install() {
apt-get install -y "$@"
}
package_remove() {
apt-get remove -y "$@"
}