jw-pkg/scripts
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Jan Lindemann 97cc7fbecd
All checks were successful
CI / Packaging - Kali Linux (pull_request) Successful in 4m57s
CI / Packaging - OpenSUSE Tumbleweed (pull_request) Successful in 5m11s
CI / Packaging test (pull_request) Successful in 0s
CI / Packaging - Kali Linux (push) Successful in 4m34s
CI / Packaging - OpenSUSE Tumbleweed (push) Successful in 4m48s
CI / Packaging test (push) Successful in 0s
pkg.sh: Fix chown and chmod lines in generated postinst
The postinst generator looks up the install log line of each file with a
regex grep on the file path, and the dots of the path match any character.
When the grep returns several lines, milk_install_log_spec_attr() passes
the extra lines through, so the emitted chown and chmod commands split
across lines, dpkg -i reports errors for the fragments, and the owner and
mode of the file are not applied.

Match the end of the log line against the file path literally and take the
first match. The install log line ends in the file path, but may carry a
build prefix before it, so the literal comparison of the tail of the line
selects exactly the line of the file, for plain and %config entries alike.

Assisted-by: unsloth/Qwen3.8-27B-GGUF:Q4_K_M with pi.dev v1.4.0
Signed-off-by: Jan Lindemann <jan@janware.com>
2026-10-27 07:02:37 +01:00
..
usr-bin conf / scripts: Fix unprivileged "make install" 2026-08-18 17:27:32 +02:00
create-mkdebian.sh scripts / make: Add Recommends support 2026-09-19 20:13:49 +02:00
create-mkspec.sh scripts / make: Add Recommends support 2026-09-19 20:13:49 +02:00
dpm.sh scripts: Fix shellcheck errors 2026-06-29 17:52:24 +02:00
git-srv-admin.sh scripts: Fix shellcheck errors 2026-06-29 17:52:24 +02:00
ini-tools.sh scripts: Fix shellcheck errors 2026-06-29 17:52:24 +02:00
jw Revert "scripts: Add __init__.py" 2026-01-26 17:17:23 +01:00
jw-pkg-create-project.sh jw-pkg-create-project.sh: Use make gitignore 2026-09-13 23:09:25 +02:00
jw-pkg.py jw.pkg: Fix "make check" static code check fallout 2026-05-31 18:20:38 +02:00
make-version-script.sh make, scripts: Re-add files necessary for building ytools 2025-11-14 15:59:49 +01:00
Makefile scripts: Fix shellcheck errors 2026-06-29 17:52:24 +02:00
mkspec-wrapper.sh mkspec-wrapper.sh: Fix INSTALL_LOG default 2026-10-16 08:48:20 +02:00
pgit.sh pgit.sh: Stop looking for .git at regular file 2026-09-27 10:16:00 +02:00
pkg.sh pkg.sh: Fix chown and chmod lines in generated postinst 2026-10-27 07:02:37 +01:00
purge-stale-projects.sh purge-stale-projects.sh: Fix getopt regression 2026-06-30 07:36:15 +02:00
python-tools.sh python-tools.sh: Annotate generated conftest.py 2026-09-13 15:42:29 +02:00
scm.sh calculate_hash(): Derive hash from VCS file ids 2026-09-16 14:44:59 +02:00
ssh-wrapper.sh projects-dir.mk: Remove "-l user" in ssh-wrapper.sh 2026-06-07 12:06:02 +02:00
systemctl-wrapper.sh scripts: Fix shellcheck errors 2026-06-29 17:52:24 +02:00
upload.sh scripts: Fix shellcheck errors 2026-06-29 17:52:24 +02:00