mirror of
https://gitlab.manjaro.org/applications/manjaro-architect
synced 2024-11-06 03:20:36 +00:00
42 lines
1.0 KiB
Plaintext
42 lines
1.0 KiB
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
|
|
import ${LIBDIR}/ini_val.sh
|
|
import ${DATADIR}/translations/english.trans
|
|
|
|
if [[ -e /run/miso/bootmnt ]]; then
|
|
if [[ -e /usr/bin/maia-console ]]; then
|
|
[[ ! -e ~/.dialogrc ]] && cp /etc/skel/.dialogrc ~/.dialogrc
|
|
fi
|
|
fi
|
|
|
|
# run in debug mode with -d option
|
|
[[ $1 == "-d" ]] && declare -i debug=1
|
|
|
|
id_system
|
|
select_language
|
|
mk_connection
|
|
check_requirements
|
|
greeting
|
|
main_menu
|