Compare commits
3 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
5e7decee42
|
|||
| dc606af137 | |||
| 5253f81f0a |
@@ -99,6 +99,10 @@ artixpkg_repo_add() {
|
|||||||
local commit_msg
|
local commit_msg
|
||||||
commit_msg=$(get_commit_msg 'add' "${DEST}")
|
commit_msg=$(get_commit_msg 'add' "${DEST}")
|
||||||
|
|
||||||
|
if [[ -f .SRCINFO ]]; then
|
||||||
|
rm .SRCINFO
|
||||||
|
fi
|
||||||
|
|
||||||
if [[ -n $(git status --porcelain --untracked-files=no) ]]; then
|
if [[ -n $(git status --porcelain --untracked-files=no) ]]; then
|
||||||
|
|
||||||
stat_busy 'Staging files'
|
stat_busy 'Staging files'
|
||||||
|
|||||||
@@ -64,8 +64,9 @@ artixpkg_repo_import() {
|
|||||||
--exclude '.gitignore'
|
--exclude '.gitignore'
|
||||||
--exclude 'README.md'
|
--exclude 'README.md'
|
||||||
--exclude '*.service'
|
--exclude '*.service'
|
||||||
--exclude '*.timer'
|
--exclude '.SRCINFO'
|
||||||
--exclude '*.socket'
|
--exclude '*.socket'
|
||||||
|
--exclude '*.timer'
|
||||||
)
|
)
|
||||||
|
|
||||||
while (( $# )); do
|
while (( $# )); do
|
||||||
|
|||||||
@@ -99,6 +99,10 @@ artixpkg_repo_move() {
|
|||||||
|
|
||||||
update_yaml_move "${SRC}" "${DEST}"
|
update_yaml_move "${SRC}" "${DEST}"
|
||||||
|
|
||||||
|
if [[ -f .SRCINFO ]]; then
|
||||||
|
rm .SRCINFO
|
||||||
|
fi
|
||||||
|
|
||||||
if [[ -n $(git status --porcelain --untracked-files=no) ]]; then
|
if [[ -n $(git status --porcelain --untracked-files=no) ]]; then
|
||||||
|
|
||||||
stat_busy 'Staging files'
|
stat_busy 'Staging files'
|
||||||
|
|||||||
Reference in New Issue
Block a user