summarylogtreecommitdiffstats
path: root/firedragon.install
blob: 08d5254b5accc9fc45a180d7c3fd70b979af50c5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
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() {
    msg "Firejail profiles are already present in firejail-git."
    echo ""
    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 ""
    msg "Enjoy the Firedragon 🔥🐉"
    echo ""
}

post_upgrade() {
    msg "Firejail profiles are already present in firejail."
    echo ""
    msg "To use profile-sync-daemon add firedragon to ~/.config/psd/psd.conf"
    echo ""
    msg "If you prefer strict hardened settings execute 'cp /usr/lib/firedragon/firedragon.overrides.cfg ~/.firedragon/'"
    echo ""
    msg "Enjoy the Firedragon 🔥🐉"
    echo ""
}