Compare commits

..

2 Commits

Author SHA1 Message Date
Aaron Liu
3f0ebbc6d2 fix(license): add .gitignore to REUSE defaults
36 packages use this while 26 use *.pam and 21 use *.logrotate. Seems
anecdotally common enough to add this here.
2025-08-08 14:13:32 +02:00
Jakub Klinkovský
fc56ebedf3 fix(completion): fix bash completion for the license subcommand
Signed-off-by: Jakub Klinkovský <lahwaacz@archlinux.org>
2025-08-05 17:48:12 +02:00
3 changed files with 2 additions and 3 deletions

View File

@@ -150,6 +150,7 @@ _pkgctl_cmds=(
db db
diff diff
issue issue
license
release release
repo repo
search search

View File

@@ -116,9 +116,6 @@ copy_hostconf () {
cp "$makepkg_conf" "$working_dir/etc/makepkg.conf" cp "$makepkg_conf" "$working_dir/etc/makepkg.conf"
if [[ -d "${makepkg_conf}.d" ]] && is_globfile "${makepkg_conf}.d"/*.conf; then if [[ -d "${makepkg_conf}.d" ]] && is_globfile "${makepkg_conf}.d"/*.conf; then
mkdir --parents "$working_dir/etc/makepkg.conf.d/" mkdir --parents "$working_dir/etc/makepkg.conf.d/"
if is_globfile "$working_dir/etc/makepkg.conf.d"/*.conf; then
rm --force "$working_dir/etc/makepkg.conf.d"/*.conf
fi
cp "${makepkg_conf}.d/"*.conf "$working_dir/etc/makepkg.conf.d/" cp "${makepkg_conf}.d/"*.conf "$working_dir/etc/makepkg.conf.d/"
fi fi
fi fi

View File

@@ -188,6 +188,7 @@ path = [
"README.md", "README.md",
"keys/**", "keys/**",
".SRCINFO", ".SRCINFO",
".gitignore",
".nvchecker.toml", ".nvchecker.toml",
"*.install", "*.install",
"*.sysusers", "*.sysusers",