Skip to content

Commit a415a0c

Browse files
committed
pushpkg: find and delete other file use sudo
1 parent 576fec4 commit a415a0c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pushpkg/pushpkg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ if [[ ! -d 'debs' ]]; then
6161
fi
6262

6363
OUTPUT_DIR="$(readlink -f debs)"
64-
find "${OUTPUT_DIR}" -maxdepth 1 -type f -delete -print
64+
sudo find "${OUTPUT_DIR}" -maxdepth 1 -type f -delete -print
6565

6666
ssh ${ARGS_SSH} "${USERNAME}@repo.aosc.io" "mkdir -p '/mirror/debs/pool/${BRANCH}/${COMPOMENT}'"
6767

0 commit comments

Comments
 (0)