Dnia 21-07-2005, czw o godzinie 18:46 +0300, Elan Ruusamäe napisał(a): > so... mysql (or anything that uses %userremove/%groupremove) must depend on > rpm package? > > what about embedding the scripts into %scriptlets, than using the external > shell script? same goes for %banner i guess. > > then can put dependencies on actual programs being used, be it /bin/id > or /usr/sbin/userdel. > > # vpoldek mysql-slave -- -e mysql > vpoldek: operating on vserver mysql-slave > There are 1 package to remove: > R mysql-4.1.12-2.5 > Proceed? [y/N] > Running vrpm-preload --erase --root /vservers/mysql-slave... > /var/tmp/rpm-tmp.33133[6]: /usr/lib/rpm/user_group.sh: not found > /var/tmp/rpm-tmp.33133[6]: /usr/lib/rpm/user_group.sh: not found > error: %postun(mysql-4.1.12-2.5.i686) scriptlet failed, exit status 127 > vpoldek failed on vserver 'mysql-slave' with errorcode 1
Then doing fixes in the scripts would require all the packages to be rebuilt. Now you only have to rebuild the rpm package. -- Patrys :: Patryk Zawadzki <[EMAIL PROTECTED]>
signature.asc
Description: This is a digitally signed message part
_______________________________________________ pld-devel-en mailing list [email protected] http://lists.pld-linux.org/mailman/listinfo/pld-devel-en
