wok-4.x diff ntpclient/receipt @ rev 1137
Fix post_install for subdir install
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Jul 24 12:27:06 2008 +0000 (2008-07-24) |
parents | a075ff895254 |
children | 5c39f33a1d37 |
line diff
1.1 --- a/ntpclient/receipt Tue May 13 09:50:02 2008 +0200 1.2 +++ b/ntpclient/receipt Thu Jul 24 12:27:06 2008 +0000 1.3 @@ -35,7 +35,7 @@ 1.4 1.5 post_install() 1.6 { 1.7 - local root 1.8 + [ -n "$1" ] && return 1.9 echo "" 1.10 echo -n "Do you want to run ntpclient in automatic mode (y/N): "; read anser 1.11 if [ "$anser" == "y" ]; then