pve-no-subscription/debian/postinst
2016-11-17 17:48:57 +01:00

24 lines
464 B
Bash

#!/bin/sh
set -e
case "$1" in
postinst|configure)
/usr/share/pve-no-subscription/no-subscription-warning.sh
if [ -e /usr/share/pve-no-subscription/proxmox_ve.asc ]
then
echo -n "Adding Proxmox VE apt key: "
apt-key add /usr/share/pve-no-subscription/proxmox_ve.asc
fi
;;
*)
echo "postinst called with unknown argument \`$1'" >&2
exit 1
;;
esac
#DEBHELPER#
exit 0