diff options
author | Javier Jardón <jjardon@gnome.org> | 2015-03-30 12:12:19 +0100 |
---|---|---|
committer | Javier Jardón <jjardon@gnome.org> | 2015-03-30 12:12:19 +0100 |
commit | c3927f773be52b92a1ef257307c69905da8b97a6 (patch) | |
tree | 1bcd95166254247c65d561e4ce5b0979d51d796e | |
parent | 101ba4b9bd01a758559b4ab90cc9eb694cc81e2a (diff) | |
download | baserock-chroot-c3927f773be52b92a1ef257307c69905da8b97a6.tar.gz |
schroot.conf: Use 'profile' instead deprecated 'script-config'
Change-Id: I8d3cf06cabf7fc2cae2fd9752bf288294787ce84
-rwxr-xr-x | br-ct-sync-chroots | 6 |
1 files 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 () { |