blob: 1c45b80743b3aea2aa6de7ff45c900d3879c55dc (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
post_install() {
if ! grep -qxF /usr/bin/skull /etc/shells; then
echo /usr/bin/skull >> /etc/shells
fi
}
post_upgrade() {
post_install
}
post_remove() {
sed -i '\|^/usr/bin/skull$|d' /etc/shells
}
|