Am Dienstag, 4. Februar 2003, 17:55:26 Uhr MET, schrieb Giuseppe Ghibň: > Anyone knows a good way to handle a %config file which in a newer > package has become a directory? In that case the rpm "upgrade" > fails with "cpio: rename failed - Is a directory". Ex. > > Es. in pkg-1.0 you have: > > %config <path>/config/file > > while in pkg-2.0 you have > > %config <path>/config # and this is a file
That's an interesting problem. Have you tried this in the spec of pkg-2.0? %pre rm -rf <path>/config/ -- Götz Waschk <> master of computer science <> University of Rostock http://wwwtec.informatik.uni-rostock.de/~waschk/waschk.asc for PGP key --> Logout Fascism! <--