File: fix-purging-of-remote-archives-via-ftp-or-ssh.patch

package info (click to toggle)
backup-manager 0.7.14-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,656 kB
  • sloc: sh: 4,041; perl: 1,176; makefile: 215
file content (22 lines) | stat: -rw-r--r-- 834 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
Description: Fix purging of remote archives via FTP or SSH
 Due to a refactoring upstram the additional export of BM_BMP_PATH in
 backup-manager script caused to invoke
 /usr/bin/backup-manager-purge/backup-manager-purge to purge the remote
 archives and failing.
Origin: vendor
Bug: https://github.com/sukria/Backup-Manager/pull/120
Bug-Debian: https://bugs.debian.org/895901
Author: Thomas Parmelan <tom+debian@ankh.fr.EU.org>
Reviewed-by: Salvatore Bonaccorso <carnil@debian.org>
Last-Update: 2019-07-29

--- a/backup-manager
+++ b/backup-manager
@@ -34,7 +34,6 @@ vardir="/var/lib/backup-manager"
 bindir="/usr/bin"
 bmu="$bindir/backup-manager-upload"
 bmp="$bindir/backup-manager-purge"
-export BM_BMP_PATH=$bmp
 
 # Find which lockfile to use
 # If we are called by an unprivileged user, use a lockfile inside the user's home;