Bug#40706: Reasons for not moving at all
On Thu, Jul 22, 1999 at 07:57:31AM -0400, Michael Stone wrote:
> On Thu, Jul 22, 1999 at 04:08:26PM +1000, you wrote:
> > Perhaps someone would like to upload a .deb that does nothing more than
> > maintain symlinks?
> > Something as simple as having a /etc/cron.daily script that does:
> > [ -d /usr/doc ] || exit 0
> > cd /usr/share/doc
> > for dir in *; do
> > [ -e "/usr/doc/$a" ] || ln -s /usr/share/doc/$a /usr/doc/$a
> > done
> > seems to me like an acceptable solution at this point.
> Uh huh. And who handles the dangling symlinks you leave when a package
> gets uninstalled?
And, gosh darn it, who'd put in the "#!" line at the top?
You might also want to do something more careful than using "*", and
you probably want to use "$dir" instead of "$a".
Whatever.
Cheers,
aj
--
Anthony Towns <aj@humbug.org.au> <http://azure.humbug.org.au/~aj/>
I don't speak for anyone save myself. PGP encrypted mail preferred.
``There's nothing worse than people with a clue.
They're always disagreeing with you.''
-- Andrew Over
Reply to: