Update 'Setup-Repo.sh'
This commit is contained in:
@@ -7,11 +7,11 @@ dist_name=$(grep -oP '(?<=^VERSION_CODENAME=).+' /etc/os-release | tr -d '"')
|
||||
init () {
|
||||
|
||||
if [ "$osrel" = "ubu1804" ] || [ "$osrel" = "ubu2004" ] ; then
|
||||
$PKGI software-properties-common gnupg
|
||||
apt install -y --no-install-recommends software-properties-common gnupg
|
||||
elif [ "$osrel" = "deb10" ]; then
|
||||
$PKGI gnupg2 apt-transport-https lsb-release ca-certificates curl
|
||||
apt install -y --no-install-recommends gnupg2 apt-transport-https lsb-release ca-certificates curl
|
||||
elif [ "$osrel" = "cent8" ]; then
|
||||
$PKGI gnupg
|
||||
dnf --setopt=install_weak_deps=False --best gnupg
|
||||
fi
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user