~mser/pkg.mser.at

8b7d308c967426698223bd5ab96192b3bfe821ab — cryzed 2 years ago 7d1ee7d
Update arch-thin-backup
2 files changed, 3 insertions(+), 3 deletions(-)

M packages/arch-thin-backup/PKGBUILD
M packages/arch-thin-backup/arch-thin-backup
M packages/arch-thin-backup/PKGBUILD => packages/arch-thin-backup/PKGBUILD +1 -1
@@ 4,7 4,7 @@ pkgrel=1
arch=('any')
depends=('python' 'lostfiles')
source=('arch-thin-backup' 'arch-thin-backup.service' 'arch-thin-backup.timer')
sha256sums=('bdfa0d7ef21e7345561b65a1bf5568227bcd7f3a9a2f331997011b3d1f21c1fd'
sha256sums=('b1929f6d734c2c838abc3d7b3ef70a58ec39f36840b0e0b9244be6cbe011ca4b'
            'a5e3cb518c982efcbb0544fffc106f383bdc103b80414e4396f7a5e5ec05d17c'
            '76294510190bf21b2d21c14cc74b6a7c7b7de48f4089ba850c15b916c43d4556')


M packages/arch-thin-backup/arch-thin-backup => packages/arch-thin-backup/arch-thin-backup +2 -2
@@ 29,12 29,12 @@ def is_root() -> bool:


def get_modified_backup_files() -> list[pathlib.Path]:
    process = subprocess.run(["pacman", "-Qii"], capture_output=True, text=True, check=True)
    process = subprocess.run(("pacman", "--query", "--info", "--info"), capture_output=True, text=True, check=True)
    return [pathlib.Path(line.split(None, 1)[1]) for line in process.stdout.splitlines() if line.startswith("MODIFIED")]


def lostfiles() -> list[pathlib.Path]:
    process = subprocess.run(["lostfiles", "strict"], capture_output=True, text=True, check=True)
    process = subprocess.run(("lostfiles", "strict"), capture_output=True, text=True, check=True)
    return [pathlib.Path(line) for line in process.stdout.splitlines()]