Re: Checking if directory is empty in postrm
ls -1
(one)
--
Phil Humpherys <phumpherys@utah-inter.net> DriverSoft
Unix Systems Administrator Mobile: +1.801.725.3257
WWW/PGPkeys: http://www.spire.com/~humphery
Marcus Brinkmann <Marcus.Brinkmann@ruhr-uni-bochum.de> writes:
> Hi,
>
> can someone give me a hint how I can efficient test if a certain directory
> is empty in the postrm (shell script)?
>
> Thank you,
> Marcus
>
> --
> "Rhubarb is no Egyptian god." Debian GNU/Linux finger brinkmd@
> Marcus Brinkmann http://www.debian.org master.debian.org
> Marcus.Brinkmann@ruhr-uni-bochum.de for public PGP Key
> http://homepage.ruhr-uni-bochum.de/Marcus.Brinkmann/ PGP Key ID 36E7CD09
>
>
> --
> To UNSUBSCRIBE, email to debian-mentors-request@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Reply to: