summarylogtreecommitdiffstats
path: root/powershell.install
diff options
context:
space:
mode:
authorKyle Sferrazza2017-10-26 13:50:26 -0400
committerKyle Sferrazza2017-10-26 13:50:26 -0400
commit7f67e9de66d737905ad4296414c3e18cf140cd9e (patch)
treee8b7d29235c39b77eceed4a3c7d1a1c95e826877 /powershell.install
parent1e0f37bb2dc15e7c696d1796c6ce0b5dba26def8 (diff)
downloadaur-7f67e9de66d737905ad4296414c3e18cf140cd9e.tar.gz
fix /etc/shells entry for new binary name
Diffstat (limited to 'powershell.install')
-rw-r--r--powershell.install4
1 files changed, 2 insertions, 2 deletions
diff --git a/powershell.install b/powershell.install
index 53cc793aab94..d337b39409b1 100644
--- a/powershell.install
+++ b/powershell.install
@@ -1,5 +1,5 @@
post_install() {
- grep -qe '^/usr/bin/powershell$' etc/shells || echo '/usr/bin/powershell' >> etc/shells
+ grep -qe '^/usr/bin/pwsh$' etc/shells || echo '/usr/bin/pwsh' >> etc/shells
}
post_upgrade() {
@@ -7,5 +7,5 @@ post_upgrade() {
}
pre_remove() {
- sed -ri '\|^/usr/bin/powershell$|d' etc/shells
+ sed -ri '\|^/usr/bin/pwsh$|d' etc/shells
}