24 lines
464 B
Bash
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
|