From d1dce3d3d77568f1dd05fc0dd4f0086ccd17a105 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Thu, 8 Mar 2018 11:09:11 +0000 Subject: [PATCH] Consistent function style --- src/freedombone-image-customise | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/freedombone-image-customise b/src/freedombone-image-customise index c3510e61..db060082 100755 --- a/src/freedombone-image-customise +++ b/src/freedombone-image-customise @@ -143,11 +143,11 @@ BMX7_COMMIT='0a82c7c10fef44b259b35e77ab33632aa132d219' PATH=/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin:/bin:/sbin -function configure_backports { +configure_backports() { echo "deb http://${DEBIAN_REPO}/debian/ ${DEBIAN_VERSION}-backports main" >> "$rootdir/etc/apt/sources.list" } -function configure_contrib_repo { +configure_contrib_repo() { if ! grep -q "contrib" "$rootdir/etc/apt/sources.list"; then chroot "$rootdir" /bin/sed -i "s| main| main contrib|g" /etc/apt/sources.list fi