Skip to content

Commit

Permalink
delete unused pkg_get_installed_rpm function
Browse files Browse the repository at this point in the history
  • Loading branch information
mlschroe committed Dec 15, 2014
1 parent e2997a7 commit 671a666
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions build-pkg-rpm
Expand Up @@ -45,15 +45,6 @@ pkg_prepare_rpm() {
rpm_init_cumulate
}

pkg_get_installed_rpm() {
listinstalled --root "$BUILD_ROOT" --type rpm --extraname | (
while read id name buildid; do
echo "$buildid" > "$BUILD_ROOT/.init_b_cache/alreadyinstalled/$name"
done
)
# small hack: we misuse get_installed_rpm as initializer function
}

pkg_erase_rpm() {
chroot $BUILD_ROOT rpm --nodeps -e $PKG 2>&1 | {
local retry
Expand Down

0 comments on commit 671a666

Please sign in to comment.