pika-kernel-manager/data/scripts/modify_package.sh
Ward from fusion-voyager-3 7c642067ac
All checks were successful
PikaOS Package Build & Release (amd64-v3) / build (push) Successful in 1m44s
fix modify script again
2024-08-31 09:50:22 +03:00

12 lines
136 B
Bash
Executable File

#! /bin/bash
set -e
if [[ "$1" == "install" ]]
then
apt install -y ${@:2}
else
apt remove -y ${@:2}
apt autoremove -y
fi
exit 0