summarylogtreecommitdiffstats
path: root/sudo_confirm.install
blob: 154e777621cc2d84b4931eb8c7930d7d7d540523 (plain)
1
2
3
4
5
6
7
post_install() {
	echo 'Plugin sudo_confirm /usr/lib/sudo/sudo_confirm.so' >> etc/sudo.conf
}

pre_remove() {
	sed -Ei 's/^\s*(Plugin\s+sudo_confirm\s+.*$)/#\1/g' etc/sudo.conf
}