initial import
This commit is contained in:
11
yash/yash.install
Normal file
11
yash/yash.install
Normal file
@@ -0,0 +1,11 @@
|
||||
post_install() {
|
||||
grep -qe '^/usr/bin/yash$' etc/shells || echo '/usr/bin/yash' >> etc/shells
|
||||
}
|
||||
|
||||
post_upgrade() {
|
||||
post_install
|
||||
}
|
||||
|
||||
pre_remove() {
|
||||
sed -i -r '/^(\/usr)?\/bin\/yash$/d' etc/shells
|
||||
}
|
||||
Reference in New Issue
Block a user