initial import
This commit is contained in:
13
oksh/oksh.install
Normal file
13
oksh/oksh.install
Normal file
@@ -0,0 +1,13 @@
|
||||
post_install() {
|
||||
echo "Adding '/bin/oksh' to '/etc/shells'..."
|
||||
grep -qe '^/bin/oksh$' etc/shells || echo '/bin/oksh' >> etc/shells
|
||||
}
|
||||
|
||||
post_upgrade() {
|
||||
post_install
|
||||
}
|
||||
|
||||
pre_remove() {
|
||||
echo "Removing '/bin/oksh' from '/etc/shells'..."
|
||||
sed -i '\|^/bin/oksh$|d' etc/shells
|
||||
}
|
||||
Reference in New Issue
Block a user