blob: 53cc793aab943176c7f218e9a2af8fde8b6b1b4e (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
post_install() {
grep -qe '^/usr/bin/powershell$' etc/shells || echo '/usr/bin/powershell' >> etc/shells
}
post_upgrade() {
post_install
}
pre_remove() {
sed -ri '\|^/usr/bin/powershell$|d' etc/shells
}
|