Compare commits

...

4 Commits

Author SHA1 Message Date
f59c773dbc Add other kernels to patch_pkgbase() 2023-07-01 13:49:41 +02:00
2ce4494050 artixpkg: fix args 2023-07-01 12:40:04 +02:00
6593fe7908 artixpkg: fix topic rm 2023-06-13 00:29:06 +02:00
00c6458305 artixpkg: fix team on create; fix topic removal on remove 2023-06-12 21:46:40 +02:00
4 changed files with 7 additions and 4 deletions

View File

@@ -33,7 +33,7 @@ artixpkg_git_create() {
local pkgbase
local clone=0
local config=0
local TEAM='extra'
local TEAM='world'
# variables
local path

View File

@@ -69,6 +69,7 @@ artixpkg_repo_add() {
done
DEST="$1"
shift
pkgbases+=("$@")
if ! in_array "${DEST}" "${ARTIX_DB[@]}"; then

View File

@@ -21,7 +21,7 @@ patch_pkgbase(){
-e '/nscd.service/d' \
-i "${pkgbuild}"
;;
linux|linux-lts)
linux|linux-lts|linux-zen|linux-hardened|linux-rt|linux-rt-lts)
msg "Patching %s" "${name}"
sed -e 's|KBUILD_BUILD_HOST=.*|KBUILD_BUILD_HOST=artixlinux|' -i "${pkgbuild}"
sed -e 's|CONFIG_DEFAULT_HOSTNAME=.*|CONFIG_DEFAULT_HOSTNAME="artixlinux"|' \

View File

@@ -64,13 +64,14 @@ artixpkg_repo_remove() {
die "invalid argument: %s" "$1"
;;
*)
pkgbases=("$@")
break
;;
esac
done
DEST="$1"
shift
pkgbases=("$@")
if ! in_array "${DEST}" "${ARTIX_DB[@]}"; then
die "${DEST} does not exist!"
@@ -122,7 +123,8 @@ artixpkg_repo_remove() {
if (( SET_TOPIC )); then
# topics meta
if [[ -n ${GIT_TOKEN} ]]; then
local topic="${SRC}"
local topic="${DEST}"
local gitname=$(get_compliant_name "${pkgbase}")
if ! remove_topic "${gitname}" "${topic}" >/dev/null; then
warning "failed to remove pacman repo topic: ${topic}"
fi