2 Commits

Author SHA1 Message Date
af497c569b Merge pull request 'add reflector' (#402) from reflector into master
Reviewed-on: #402
2025-09-11 00:05:31 +02:00
fa4c947aa0 add reflector
All checks were successful
Required Approvals / required-approvals (pull_request) Successful in 32s
package isn't in repos yet, but this should take care of it when it's added
2025-09-10 17:00:25 -05:00
2 changed files with 12 additions and 0 deletions

View File

@@ -0,0 +1 @@
../_common/d-systemd.sh

View File

@@ -0,0 +1,11 @@
#!/bin/bash
if [ "$#" -eq 0 ]; then
echo "Usage: $0 <package repo>"
exit 1
else
for arg in "$@"
do
sed -E 's|^(\s+)(python -m build)|\1sed -e "s\|https://archlinux.org\|https://packages.artixlinux.org\|g" \\\n\1 -e "s\|Arch Linux\|Artix Linux\|g" \\\n\1 -i Reflector.py\n\1\2|g' -i "${arg}/PKGBUILD"
done
fi