Skip to content
Snippets Groups Projects
Commit d56e3e16 authored by Jakub Jirutka's avatar Jakub Jirutka :flag_ua:
Browse files

community/at: don't overwrite /var/spool/atd/.SEQ on upgrade

parent 2f72e384
No related branches found
No related tags found
2 merge requests!54607main/sofia-sip: backport support for forking SIP calls,!41733community/linux-edge: fix build on x86_64
......@@ -10,7 +10,7 @@ arch="all"
options="!check suid" # No test suite.
license="GPL-2.0-or-later"
makedepends="ssmtp flex-dev byacc"
install="$pkgname.pre-install"
install="$pkgname.pre-install $pkgname.post-install"
subpackages="$pkgname-doc $pkgname-openrc"
source="http://software.calhariz.com/at/at_$pkgver.orig.tar.gz
0001-opt_V.patch
......@@ -51,6 +51,9 @@ package() {
make IROOT="$pkgdir" install
install -m 755 -D "$srcdir"/atd.initd \
"$pkgdir"/etc/init.d/atd
# This file is created by post-install script, if not exist yet.
rm "$pkgdir"/var/spool/atd/.SEQ
}
sha512sums="
......
#!/bin/sh
if ! [ -f /var/spool/atd/.SEQ ]; then
install -m 600 -o at -g at /dev/null /var/spool/atd/.SEQ
fi
exit 0
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment