From: Julien Moutinho Date: Sun, 24 Feb 2013 17:23:05 +0000 (+0100) Subject: Modification : rule_apt_get_install : ne teste plus dpkg -s . X-Git-Url: https://git.cyclocoop.org/?p=lhc%2Fateliers.git;a=commitdiff_plain;h=a7d0fb2448e129747fce8e108ce80e4ce3c17845 Modification : rule_apt_get_install : ne teste plus dpkg -s . --- diff --git a/vm_hosted b/vm_hosted index d0dec72..f610701 100755 --- a/vm_hosted +++ b/vm_hosted @@ -46,14 +46,7 @@ rule_git_reset () { } rule_apt_get_install () { # SYNTAX: $package - case $(dpkg -s "$1" 2>/dev/null | grep '^Status: ') in - ("Status: install ok installed");; - (*) - test ! -x /usr/bin/etckeeper || - ! sudo etckeeper unclean || - warn "/etc unclean: etckeeper may force you to \`etckeeper commit'; then you can run your $0 command again." - sudo apt-get install "$@";; - esac + sudo apt-get install "$@" } rule__chrooted_configure () { # NOTE: est-ce bien utile à un moment ?