diff options
author | Kyle Sferrazza | 2017-07-23 17:33:58 -0400 |
---|---|---|
committer | Kyle Sferrazza | 2017-07-23 17:33:58 -0400 |
commit | 7cbe3013a0641cf907963edde828a7702574dbed (patch) | |
tree | 10350aba378e2c737672d09aa38156c78383e75f /powershell.install | |
parent | 5e96f8998aa127c203991d07132f39886a199a20 (diff) | |
download | aur-7cbe3013a0641cf907963edde828a7702574dbed.tar.gz |
Adopted and updated to beta 4
Diffstat (limited to 'powershell.install')
-rw-r--r-- | powershell.install | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/powershell.install b/powershell.install new file mode 100644 index 000000000000..53cc793aab94 --- /dev/null +++ b/powershell.install @@ -0,0 +1,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 +} |