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

Loading…
Cancel
Save