summarylogtreecommitdiffstats
path: root/bash-docs.install
diff options
context:
space:
mode:
authorhaawda2020-06-15 23:23:30 +0200
committerhaawda2020-06-15 23:23:30 +0200
commitb11e815a113aec5d62c0c29a44774a19e8aaccf3 (patch)
tree5784fc94993a1801fbf3937b0a7af2d5c973bd9b /bash-docs.install
parentb06bf10f31cff9273aedbd10b08b72c6e4242a0a (diff)
downloadaur-bash-docs.tar.gz
adopted, corrected license
Diffstat (limited to 'bash-docs.install')
-rw-r--r--bash-docs.install11
1 files changed, 11 insertions, 0 deletions
diff --git a/bash-docs.install b/bash-docs.install
new file mode 100644
index 00000000000..226fe40ce57
--- /dev/null
+++ b/bash-docs.install
@@ -0,0 +1,11 @@
+post_install() {
+ ln -s /usr/share/doc/bash/copyright.html /usr/share/licenses/bash-docs/copyright.html
+}
+
+post_update() {
+ post_install
+}
+
+pre_remove() {
+ rm /usr/share/licenses/bash-docs/copyright.html
+}