forked from 0x2620/pandora
always intsall gpg key from script
This commit is contained in:
parent
083a74615b
commit
56ce668c84
1 changed files with 4 additions and 6 deletions
|
@ -7,8 +7,6 @@ else
|
|||
fi
|
||||
UBUNTU_VERSION="$VERSION_ID"
|
||||
export DEBIAN_FRONTEND=noninteractive
|
||||
if [ "$ID" == "debian" ]; then
|
||||
SYSTEMD="yes"
|
||||
echo "deb http://ppa.launchpad.net/j/pandora/ubuntu trusty main" > /etc/apt/sources.list.d/j-pandora.list
|
||||
apt-key add - << EOF
|
||||
-----BEGIN PGP PUBLIC KEY BLOCK-----
|
||||
|
@ -26,6 +24,8 @@ pAAGSEQ4uz6bYSeM4Q==
|
|||
-----END PGP PUBLIC KEY BLOCK-----
|
||||
EOF
|
||||
|
||||
if [ "$ID" == "debian" ]; then
|
||||
SYSTEMD="yes"
|
||||
else
|
||||
SYSTEMD="no"
|
||||
if [ "$UBUNTU_VERSION" == "12.04" ]; then
|
||||
|
@ -37,8 +37,6 @@ else
|
|||
update-manager-core \
|
||||
software-properties-common \
|
||||
$EXTRA
|
||||
|
||||
add-apt-repository -y ppa:j/pandora
|
||||
fi
|
||||
apt-get update
|
||||
|
||||
|
|
Loading…
Reference in a new issue