pika-kernel-manager/data/scripts/modify_package.sh
Ward from fusion-voyager-3 4d9a1c39fb Un fedoraize
2024-08-31 05:10:09 +03:00

12 lines
119 B
Bash
Executable File

#! /bin/bash
set -e
if dpkg -s "$1"
then
apt remove -y "$1"
apt autremove -y
else
apt install -y "$1"
fi
exit 0