Compare commits
2 Commits
58d8074e25
...
af497c569b
Author | SHA1 | Date | |
---|---|---|---|
af497c569b | |||
fa4c947aa0
|
1
patches/reflector/01-d-systemd.sh
Symbolic link
1
patches/reflector/01-d-systemd.sh
Symbolic link
@@ -0,0 +1 @@
|
||||
../_common/d-systemd.sh
|
11
patches/reflector/02-artix-mirrors.sh
Normal file
11
patches/reflector/02-artix-mirrors.sh
Normal 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
|
Reference in New Issue
Block a user