summarylogtreecommitdiffstats
path: root/aria2cd.hook
diff options
context:
space:
mode:
authorzhanghua0002021-09-02 17:13:56 +0800
committerzhanghua0002021-09-02 17:13:56 +0800
commit2b04710eb515edd4fcf80c704341f4062ce34b12 (patch)
tree89611d73e36620c61e76ccf6f03dc15db6905324 /aria2cd.hook
downloadaur-2b04710eb515edd4fcf80c704341f4062ce34b12.tar.gz
First Update
Diffstat (limited to 'aria2cd.hook')
-rw-r--r--aria2cd.hook9
1 files changed, 9 insertions, 0 deletions
diff --git a/aria2cd.hook b/aria2cd.hook
new file mode 100644
index 000000000000..936af625eb24
--- /dev/null
+++ b/aria2cd.hook
@@ -0,0 +1,9 @@
+[Trigger]
+Operation = Install
+Type = Package
+Target = aria2cd
+
+[Action]
+Description = Warning user about manyally operations...
+When = PostTransaction
+Exec = /usr/bin/sh -c 'echo "You need to copy /usr/share/aria2/ to \${HOME}/.aria2/ or aria2c will not work correctly.";echo "\${HOME} is the home directory of the user who runs aria2c"'