pacman/scripts
Allan McRae 8d14b22260 repo-add: unconditionally create the database if it is missing
In f91fa546 (repo-add: do not recreate the database if nothing was changed),
repo-add was made to skip database write-out if there were no changes to
the database. However, this breaks the usage of repo-add to create a new
empty database: `repo-add /path/to/mydb/mydb.db.tar.xz`.

Bring back support for this use-case by always writing the database if
it is missing.

Original-patch-by: Ivan Shapovalov <intelfx@intelfx.name>
Signed-off-by: Allan McRae <allan@archlinux.org>
2024-06-27 22:04:28 +10:00
..
completion Correct typos in zsh_completion.in 2023-10-02 04:34:24 +00:00
libmakepkg Only copy source files onces when creating debug packages 2024-06-20 00:34:32 +00:00
po Update bug report URL in tranlsation configuration files 2024-03-19 12:02:44 +10:00
.gitignore libmakepkg: install pkg-config file 2019-05-08 12:46:33 +10:00
libmakepkg.pc.in Update urls to not use www. for archlinux.org 2021-04-08 10:14:33 +10:00
makepkg-template.pl.in Update copyright years 2024-02-24 18:40:44 +10:00
makepkg.sh.in makepkg: provide environment variable to disable PKGBUILD linting 2024-06-01 02:12:23 +10:00
meson.build meson: do not use meson.source_root() and meson.build_root() 2022-03-06 16:26:34 +10:00
pacman-db-upgrade.sh.in Update copyright years 2024-02-24 18:40:44 +10:00
pacman-key.sh.in pacman-key: fix permission checks for non-root operations 2024-04-05 00:47:45 +00:00
repo-add.sh.in repo-add: unconditionally create the database if it is missing 2024-06-27 22:04:28 +10:00
wrapper.sh.in Update copyright years 2024-02-24 18:40:44 +10:00