pika-kernel-manager/data/scripts/modify_package.sh
Ward from fusion-voyager-3 7b682c3359 add package version
2024-06-19 04:08:37 +03:00

11 lines
99 B
Bash

#! /bin/bash
set -e
if rpm -q "$1"
then
dnf remove -y "$1"
else
dnf install -y "$1"
fi
exit 0