This repository has been archived on 2023-02-21. You can view files and clone it, but cannot push or open issues or pull requests.
authentic2-supann/postinst

8 lines
252 B
Bash

#!/bin/sh
if [ ! -f /etc/default/authentic2 ]; then
echo '. /etc/authentic2/supann.conf' >/etc/default/authentic2
elif ! grep -q supann.conf /etc/default/authentic2 2>/dev/null; then
echo '. /etc/authentic2/supann.conf' >>/etc/default/authentic2
fi