From c3927f773be52b92a1ef257307c69905da8b97a6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Javier=20Jard=C3=B3n?= Date: Mon, 30 Mar 2015 12:12:19 +0100 Subject: schroot.conf: Use 'profile' instead deprecated 'script-config' Change-Id: I8d3cf06cabf7fc2cae2fd9752bf288294787ce84 --- br-ct-sync-chroots | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/br-ct-sync-chroots b/br-ct-sync-chroots index 5ca8998..59fb8b9 100755 --- a/br-ct-sync-chroots +++ b/br-ct-sync-chroots @@ -49,7 +49,7 @@ add_entries () { add_conf_line "directory=${BASEROCK_BASE}/${entry}" add_conf_line "description=Baserock in $entry" add_conf_line "users=root" - add_conf_line "script-config=baserock-$entry/config" + add_conf_line "profile=baserock-$entry" if ! find_default; then test -e "${BASEROCK_BASE}/$entry/default" && add_conf_line "aliases=default" fi @@ -62,11 +62,11 @@ find_configs () { } find_used_configs () { - grep "^script-config" "${SCHROOT_CONF}" | grep baserock | sed -e's@script-config *= *@@' + grep "^profile" "${SCHROOT_CONF}" | grep baserock | sed -e's at profile *= *@@' } is_config_used () { - grep "script-config *= *" "${SCHROOT_CONF}" | grep -q -F "$1/config" + grep "profile *= *" "${SCHROOT_CONF}" | grep -q -F "$1" } add_new_configs () { -- cgit v1.2.1