Commit d75c15a5 authored by Lucas Sulzbach's avatar Lucas Sulzbach

Split setup.sh into two scripts

parent 03dbd527
Pipeline #18796 passed with stage
in 12 seconds
#!/usr/bin/env bash
# shellcheck disable=SC1090
#
# Copyright (C) 2017 Centro de Computacao Cientifica e Software Livre
# Departamento de Informatica - Universidade Federal do Parana - C3SL/UFPR
#
# This file is part of create-iso
#
# create-iso 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; either version 3
# of the License, or (at your option) any later version.
#
# 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.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301,
# USA.
# PROFILE="$1"
NAME="$2"
# WEBSITE="$3"
# TMP="$4"
CHROOTDIR="$5"
# CACHEDIR="$6"
# PKGLIST="$7"
# SOURCESLIST="$8"
# REPO="$9"
# KEYURL="${10}"
# DBG="${11}"
source "${PREFIX}/include/logging.sh"
sed --in-place "s/PRETTY_NAME=.*/PRETTY_NAME=\"${NAME}\"/" \
"${CHROOTDIR}/usr/lib/os-release" || create_iso_logger --message \
"Unable to change pretty name in os-release file" --type warning --tag "sed"
exit 0
../../scripts-available/pre-setup.sh
\ No newline at end of file
../../scripts-available/pre-setup.sh
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment