Browse Source

fix rpmtool usage

master
parent
commit
6069a12171
  1. 6
      petidomo/petidomo.spec

6
petidomo/petidomo.spec

@ -33,7 +33,7 @@ Distribution: OpenPKG [EXP]
Group: Mail
License: GPL
Version: 4.0b1
Release: 20020315
Release: 20020625
# list of sources
Source0: ftp://ftp.ossp.org/pkg/tool/petidomo/petidomo-%{version}.tar.gz
@ -125,7 +125,7 @@ AutoReqProv: no
echo "users-owner: postmaster"
echo "owner-users: users-owner"
) |\
$RPM_INSTALL_PREFIX/sbin/rpmtool config \
$RPM_INSTALL_PREFIX/lib/openpkg/rpmtool config \
-a -i "$RPM_INSTALL_PREFIX:petidomo" $aliases_file
fi
if [ ".$update_command" != . ]; then
@ -139,7 +139,7 @@ AutoReqProv: no
aliases_file=`$RPM_INSTALL_PREFIX/etc/rc --query mta_aliases_file`
update_command=`$RPM_INSTALL_PREFIX/etc/rc --query mta_aliases_update`
if [ ".$aliases_file" != . ]; then
$RPM_INSTALL_PREFIX/sbin/rpmtool config \
$RPM_INSTALL_PREFIX/lib/openpkg/rpmtool config \
-r -i "$RPM_INSTALL_PREFIX:petidomo" $aliases_file
fi
if [ ".$update_command" != . ]; then

Loading…
Cancel
Save