Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
1ba16c45f9
|
|||
|
95afc31152
|
@@ -7,6 +7,9 @@ ARTOOLS_INCLUDE_GIT_PULL_SH=1
|
||||
|
||||
set -e
|
||||
|
||||
# shellcheck source=src/lib/pkg/db/db.sh
|
||||
source "${LIBDIR}"/pkg/db/db.sh
|
||||
|
||||
|
||||
artixpkg_git_pull_usage() {
|
||||
local -r COMMAND=${_ARTOOLS_COMMAND:-${BASH_SOURCE[0]##*/}}
|
||||
@@ -123,6 +126,11 @@ artixpkg_git_pull() {
|
||||
die 'failed to pull %s' "${pkgbase}"
|
||||
fi
|
||||
|
||||
msg "Querying ${pkgbase} ..."
|
||||
if ! show_db; then
|
||||
warning "Could not query ${REPO_DB}"
|
||||
fi
|
||||
|
||||
)
|
||||
else
|
||||
warning "Skip pulling ${pkgbase}: Directory does not exist"
|
||||
|
||||
@@ -132,6 +132,14 @@ artixpkg_repo_remove() {
|
||||
if [[ "$f" == "${REPO_DB}" ]]; then
|
||||
git add "$f"
|
||||
fi
|
||||
if [[ "$f" == "${REPO_CI}" ]]; then
|
||||
git add "$f"
|
||||
fi
|
||||
done
|
||||
for f in $(git ls-files --others); do
|
||||
if [[ "$f" == "${SRCINFO}" ]]; then
|
||||
git add "$f"
|
||||
fi
|
||||
done
|
||||
stat_done
|
||||
|
||||
|
||||
Reference in New Issue
Block a user