diff options
author | zhanghua000 | 2021-09-24 21:14:29 +0800 |
---|---|---|
committer | zhanghua000 | 2021-09-24 21:14:29 +0800 |
commit | afb2dbf3b09e16f9ec85d75eddeb5b52ae44cfd1 (patch) | |
tree | fa6c47fc8c0e82e00d25c85d7420789815b53e64 | |
parent | feef55cc36cd186c19aa9a73451d42d209b2b1b5 (diff) | |
download | aur-afb2dbf3b09e16f9ec85d75eddeb5b52ae44cfd1.tar.gz |
update notification
-rw-r--r-- | .SRCINFO | 4 | ||||
-rw-r--r-- | PKGBUILD | 7 | ||||
-rwxr-xr-x | notify-user | 4 |
3 files changed, 8 insertions, 7 deletions
@@ -1,7 +1,7 @@ pkgbase = aria2cd pkgdesc = A systemd Service to start aria2 automatically. pkgver = 1.0 - pkgrel = 7 + pkgrel = 8 url = https://aur.archlinux.org/aria2cd.git arch = any license = custom:WTFPL @@ -12,7 +12,7 @@ pkgbase = aria2cd source = aria2.conf source = aria2@.service source = LICENSE::http://www.wtfpl.net/txt/copying - sha256sums = edc44eecc36d388b4f0d1b8efc3c6229342023fc68a03be85e64c4377688dc3c + sha256sums = 6cde5c3c4877fff8d7804ae958ab3cc6dad366e4275f757b0f7f146427450f8d sha256sums = 182b39e8f4f9cc979aa9cbaebbbb88298f009bfdb1c0bcb2d44fa538ff9fe73c sha256sums = a075c9b90a4732ea7fb332e81ad50244e778977ec028a56ae0b29f895fd7db87 sha256sums = c863595990e32eb41aa76fd55d151acb04cee401fcf219d4e418b96fdc1468b2 @@ -2,7 +2,7 @@ pkgname=aria2cd pkgver=1.0 -pkgrel=7 +pkgrel=8 pkgdesc="A systemd Service to start aria2 automatically." arch=(any) url="https://aur.archlinux.org/aria2cd.git" @@ -15,7 +15,7 @@ source=( aria2@.service LICENSE::http://www.wtfpl.net/txt/copying ) -sha256sums=('edc44eecc36d388b4f0d1b8efc3c6229342023fc68a03be85e64c4377688dc3c' +sha256sums=('6cde5c3c4877fff8d7804ae958ab3cc6dad366e4275f757b0f7f146427450f8d' '182b39e8f4f9cc979aa9cbaebbbb88298f009bfdb1c0bcb2d44fa538ff9fe73c' 'a075c9b90a4732ea7fb332e81ad50244e778977ec028a56ae0b29f895fd7db87' 'c863595990e32eb41aa76fd55d151acb04cee401fcf219d4e418b96fdc1468b2' @@ -28,6 +28,5 @@ package(){ install -Dm644 ${srcdir}/aria2@.service ${pkgdir}/usr/lib/systemd/system/aria2@.service install -Dm644 ${srcdir}/LICENSE ${pkgdir}/usr/share/licences/${pkgname}/LICENSE install -Dm644 ${srcdir}/${pkgname}.hook ${pkgdir}/usr/share/libalpm/hooks/${pkgname}.hook - install -Dm644 ${srcdir}/notify-user ${pkgdir}/usr/share/libalpm/scripts/notify-user - chmod +x ${pkgdir}/usr/share/libalpm/scripts/notify-user + install -Dm755 ${srcdir}/notify-user ${pkgdir}/usr/share/libalpm/scripts/notify-user } diff --git a/notify-user b/notify-user index 0c6a70bb96c1..44f2a8111b86 100755 --- a/notify-user +++ b/notify-user @@ -1,4 +1,6 @@ #!/usr/bin/env sh -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 "aria2cd has been installed/updated successfully, but there is something extra to do:" +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." |