summarylogtreecommitdiffstats
path: root/aria2cd.hook
diff options
context:
space:
mode:
authorzhanghua0002021-09-24 20:55:11 +0800
committerzhanghua0002021-09-24 20:55:11 +0800
commit891cb23eddbe9c9bbcffd98fa0f4ab0f276e3b9e (patch)
treebaeede68426b1d4f41fd140286c21be8b05b94b1 /aria2cd.hook
parenta8822732c631780e7cf8866817d5b8b3663ae71f (diff)
downloadaur-891cb23eddbe9c9bbcffd98fa0f4ab0f276e3b9e.tar.gz
Switch to follow XDG specification
Diffstat (limited to 'aria2cd.hook')
-rw-r--r--aria2cd.hook3
1 files changed, 2 insertions, 1 deletions
diff --git a/aria2cd.hook b/aria2cd.hook
index 0cf1c4672994..6c2f54785c5c 100644
--- a/aria2cd.hook
+++ b/aria2cd.hook
@@ -1,9 +1,10 @@
[Trigger]
Operation = Install
+Operation = Upgrade
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";echo "You can also use \${XDG_CONFIG_HOME}/aria2/ instead of \${HOME}/.aria2/"'
+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."'