summaryrefslogtreecommitdiffstats
path: root/debian/dpkg.cron.daily
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 14:58:51 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 14:58:51 +0000
commite52abbeea0a0fd87f2df577263fdfcb89da6c1b0 (patch)
tree27a6f3ded04c521f55558166ee9322076339ca2b /debian/dpkg.cron.daily
parentAdding upstream version 1.21.22. (diff)
downloaddpkg-e52abbeea0a0fd87f2df577263fdfcb89da6c1b0.tar.xz
dpkg-e52abbeea0a0fd87f2df577263fdfcb89da6c1b0.zip
Adding debian version 1.21.22.debian/1.21.22debian
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'debian/dpkg.cron.daily')
-rw-r--r--debian/dpkg.cron.daily8
1 files changed, 8 insertions, 0 deletions
diff --git a/debian/dpkg.cron.daily b/debian/dpkg.cron.daily
new file mode 100644
index 0000000..899572d
--- /dev/null
+++ b/debian/dpkg.cron.daily
@@ -0,0 +1,8 @@
+#!/bin/sh
+
+# Skip if systemd is running.
+if [ -d /run/systemd/system ]; then
+ exit 0
+fi
+
+/usr/libexec/dpkg/dpkg-db-backup