summarylogtreecommitdiffstats
path: root/es.install
blob: 960a553d9fe09282d543c4b7d6c31e49bf0873a2 (plain)
1
2
3
4
5
6
7
8
9
10
11
post_install() {
	grep -qe '^/usr/bin/es$' etc/shells || echo '/usr/bin/es' >> etc/shells
}

post_upgrade() {
	post_install
}

pre_remove() {
	sed -ri '\|^/usr/bin/es$|d' etc/shells
}