summarylogtreecommitdiffstats
path: root/aria2cd.hook
diff options
context:
space:
mode:
authorzhanghua0002021-09-24 21:04:22 +0800
committerzhanghua0002021-09-24 21:04:22 +0800
commit53c372c87c7854f60ffed139aa3d3cd6af604fd6 (patch)
treef7f1af9a021bcddcece9e3b9c107c977dbef587d /aria2cd.hook
parenta5eca45aeaa1546d259cd874991550ece2a5a45d (diff)
downloadaur-53c372c87c7854f60ffed139aa3d3cd6af604fd6.tar.gz
use script to notify user
Diffstat (limited to 'aria2cd.hook')
-rw-r--r--aria2cd.hook2
1 files changed, 1 insertions, 1 deletions
diff --git a/aria2cd.hook b/aria2cd.hook
index 6c2f54785c5c..1b7429b42ee3 100644
--- a/aria2cd.hook
+++ b/aria2cd.hook
@@ -7,4 +7,4 @@ 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";echo "You can also use \${XDG_CONFIG_HOME}/aria2/ instead of \${HOME}/.aria2/ for config and \${XDG_CACHE_HOME}/aria2/ for cache files such as DHT file and session file.";echo "The latter(\${XDG_CACHE_HOME}/aria2/ and \${XDG_CONFIG_HOME}/aria2/) is preferered to use because it follows freedesktop's specification."'
+Exec = /usr/share/libalpm/scripts/notify-user