Re: Script in GUI (Was: openSUSE as a router, how to? Solved!)
- From: houghi <houghi@xxxxxxxxxxxxxxxxxx>
- Date: Fri, 27 Jun 2008 08:44:47 +0200
Vahis wrote:
The `exit 1` I would probably re-write to an errormessage that pops up
with kdialog/zenity so you know something went wrong.
Software management slows down in a long seasoned system in 10.3.
This script "greases the wheels"
rpm --rebuilddb is obvious.
So you want to do it often? Why not put it in a crontab. Obviously first
test if there is nothing busy with using the database, like another rpm
or YaST.
It then copies the files with a new name and removes the old ones.
Then it renames the new files to old ones.
This "defrags" them and keeps software management running quickly as
new.
This last part I think is odd. I see no reason for this.
houghi
--
Always listen to experts. They'll tell you what can't be done,
and why. Then do it.
-- Heinlein : Time Enough For Love
.
- Follow-Ups:
- References:
- Prev by Date: Re: What is the relationship between OpenSuse and SLED
- Next by Date: [OS 11.0]: Compiz settings gone on reboot
- Previous by thread: Re: Script in GUI (Was: openSUSE as a router, how to? Solved!)
- Next by thread: Re: Script in GUI (Was: openSUSE as a router, how to? Solved!)
- Index(es):
Relevant Pages
|