wok-next diff bash/receipt @ rev 18467
bash: /etc/skel/ may absent
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sat Oct 03 06:23:42 2015 +0300 (2015-10-03) |
parents | 27d55e263e2d |
children | 6492649051cf |
line diff
1.1 --- a/bash/receipt Sat Oct 03 06:11:22 2015 +0300 1.2 +++ b/bash/receipt Sat Oct 03 06:23:42 2015 +0300 1.3 @@ -90,7 +90,7 @@ 1.4 1.5 post_install() 1.6 { 1.7 - cp -a "$1/etc/bashrc" "$1/etc/skel/.bashrc" 1.8 + mkdir -p "$1/etc/skel"; cp -a "$1/etc/bashrc" "$1/etc/skel/.bashrc" 1.9 1.10 # Exit function in non-interactive mode (when user can't answer question) 1.11 tty -s || return