Git-Url:
http://git.frugalware.org/gitweb/gitweb.cgi?p=pacman-tools.git;a=commitdiff;h=b6c96eccdd54277abe036a2956ac0e27bbd32854
commit b6c96eccdd54277abe036a2956ac0e27bbd32854
Author: Miklos Vajna <[EMAIL PROTECTED]>
Date: Sat May 3 23:01:57 2008 +0200
repoman: remove package dir in clean()
- till now after a repoman clean the old pkgdir was still there (source
tarball, changelog, buildlog)
- now these are optional
- NOTE: this means that till now repoman cl foo/pkg was equal to repoman
cl bar/pkg, but given that we now remove source/group/pkg, the group
part makes sense
diff --git a/repoman b/repoman
index 6298d93..2043335 100755
--- a/repoman
+++ b/repoman
@@ -206,12 +206,10 @@ clean()
[ -z "$fdb" ] && fdb="$reponame.fdb"
for i in $*
do
- # drop the group/ prefix if any
- i=${i#*/}
msg "Cleaning up $i"
ssh $host "`declare -f _check_nobuild`; cd $path/frugalware-$arch && \
- _check_nobuild || arch=$arch $sudo_cmd updatesync del
$fdb $i && \
- genchangelog --clean $i"
+ _check_nobuild || arch=$arch $sudo_cmd updatesync del
$fdb ${i#*/} && \
+ genchangelog --clean ${i#*/} && rm -rfv ../source/$i"
done
}
_______________________________________________
Frugalware-git mailing list
[email protected]
http://frugalware.org/mailman/listinfo/frugalware-git