[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Quick question



Hello Gregor.

Gregor Schneider, 03.01.2007 17:00:
> just a short question:
> 
> After installing Edge, I see the common-user-$PS1 as follows:
> 
> ${debian_chroot:+($debian_chroot)}\u@\h:\w\$
> 
> I understand \u@\h:\w\$, however, what does
> 
> ${debian_chroot:+($debian_chroot)}
> 
> do?

Look a few lines above:

> # set variable identifying the chroot you work in (used in the prompt below)
> if [ -z "$debian_chroot" -a -r /etc/debian_chroot ]; then
>     debian_chroot=$(cat /etc/debian_chroot)
> fi


Regards, Mathias

-- 
debian/rules

Attachment: signature.asc
Description: OpenPGP digital signature


Reply to: