This commit is contained in:
John Doe
2021-10-22 18:07:07 +08:00
parent 723ab4e218
commit e3002132fe

View File

@@ -14,7 +14,7 @@ function merge_package(){
mv $pn package/custom/ mv $pn package/custom/
} }
function drop_package(){ function drop_package(){
find package/ -follow -name $pn -not -path "package/custom/*" | xargs -rt rm -r find package/ -follow -name $1 -not -path "package/custom/*" | xargs -rt rm -r
} }
function merge_feed(){ function merge_feed(){
if [ ! -d "feed/$1" ]; then if [ ! -d "feed/$1" ]; then