repo.or.cz
/
arch-packages.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
OCaml 4.14.0 rebuild
[arch-packages.git]
/
xdg-user-dirs
/
trunk
/
xdg-user-dirs.install
blob
2f2c7268c3bbd747490a6c9d20655570f4dd2017
1
post_install() {
2
# Enable update by default
3
systemctl --global enable xdg-user-dirs-update.service
4
}
5
6
post_upgrade() {
7
if (( $(vercmp $2 0.15-3) < 0)); then
8
systemctl --global enable xdg-user-dirs-update.service
9
fi
10
}
11
12
pre_remove() {
13
systemctl --global disable xdg-user-dirs-update.service
14
}