Commit 0b7d4361 authored by Aaron Griffin's avatar Aaron Griffin
Browse files

Added GPL headers

parent 34ee028d
Loading
Loading
Loading
Loading
+8 −0
Original line number Diff line number Diff line
#!/bin/sh
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; version 2 of the License.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License for more details.

FORCE="n"
RUN=""
+10 −2
Original line number Diff line number Diff line
#!/bin/sh
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; version 2 of the License.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License for more details.

FORCE="n"
RUN=""
@@ -137,8 +145,8 @@ else
    fi

    echo "generating default locales"
    sed -i "s|^#\(.*$LANG\)|\1|g" /etc/locale.gen
    locale-gen
    sed -i "s|^#\(.*$LANG\)|\1|g" "${working_dir}/etc/locale.gen"
    chroot "${working_dir}" locale-gen

    if [ ! -e "${working_dir}/.arch-chroot" ]; then
        date +%s > "${working_dir}/.arch-chroot"