Compare commits
4 Commits
Author | SHA1 | Date | |
---|---|---|---|
f59c773dbc | |||
2ce4494050 | |||
6593fe7908 | |||
00c6458305 |
@@ -33,7 +33,7 @@ artixpkg_git_create() {
|
||||
local pkgbase
|
||||
local clone=0
|
||||
local config=0
|
||||
local TEAM='extra'
|
||||
local TEAM='world'
|
||||
|
||||
# variables
|
||||
local path
|
||||
|
@@ -69,6 +69,7 @@ artixpkg_repo_add() {
|
||||
done
|
||||
|
||||
DEST="$1"
|
||||
shift
|
||||
pkgbases+=("$@")
|
||||
|
||||
if ! in_array "${DEST}" "${ARTIX_DB[@]}"; then
|
||||
|
@@ -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"|' \
|
||||
|
@@ -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
|
||||
|
Reference in New Issue
Block a user