2021-03-05 14:18:52 +01:00
|
|
|
msg() {
|
|
|
|
ALL_OFF="\e[1;0m"
|
|
|
|
BOLD="\e[1;1m"
|
|
|
|
RED="${BOLD}\e[1;31m"
|
|
|
|
local mesg=$1; shift
|
|
|
|
printf "${RED}==>${ALL_OFF}${BOLD} ${mesg}${ALL_OFF}" "$@" >&2
|
|
|
|
}
|
|
|
|
|
|
|
|
post_install() {
|
2021-05-25 12:25:32 +02:00
|
|
|
msg "To use profile-sync-daemon add firedragon to ~/.config/psd/psd.conf"
|
|
|
|
echo ""
|
|
|
|
msg "If you prefer strict hardened settings execute 'mkdir ~/.firedragon && cp /usr/lib/firedragon/firedragon.overrides.cfg ~/.firedragon/'"
|
|
|
|
echo ""
|
2021-03-05 14:18:52 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
post_upgrade() {
|
2021-05-02 11:35:55 +02:00
|
|
|
msg "To use profile-sync-daemon add firedragon to ~/.config/psd/psd.conf"
|
2021-03-05 14:18:52 +01:00
|
|
|
echo ""
|
2021-05-25 12:25:32 +02:00
|
|
|
msg "If you prefer strict hardened settings execute 'cp /usr/lib/firedragon/firedragon.overrides.cfg ~/.firedragon/'"
|
2021-05-10 23:08:18 +02:00
|
|
|
echo ""
|
2021-03-05 14:18:52 +01:00
|
|
|
}
|