You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
manjaro-architect/bin/manjaro-architect.in

36 lines
931 B
Plaintext

# !/bin/bash
#
# Architect Installation Framework (2016-2017)
#
# Written by Carl Duff and @mandog for Archlinux
# Heavily modified and re-written by @Chrysostomus to install Manjaro instead
# Contributors: @papajoker, @oberon and the Manjaro-Community.
#
# This program is free software, provided under the GNU General Public License
# as published by the Free Software Foundation. So feel free to copy, distribute,
# or modify it as you wish.
version=@version@
LIBDIR='@libdir@'
DATADIR='@datadir@'
[[ -r ${LIBDIR}/util.sh ]] && source ${LIBDIR}/util.sh
import ${LIBDIR}/util-menu.sh
import ${LIBDIR}/util-base.sh
import ${LIBDIR}/util-desktop.sh
import ${LIBDIR}/util-disk.sh
[[ ! -e ~/.dialogrc ]] && [[ -e /etc/skel/.dialogrc ]] && cp /etc/skel/.dialogrc ~/.dialogrc
# run in debug mode with -d option
[[ $1 == "-d" ]] && declare -i debug=1
id_system
select_language
mk_connection
check_requirements
greeting
main_menu