manjaro-architect/bin/manjaro-architect.in

42 lines
1.0 KiB
Plaintext
Raw Normal View History

# !/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.
2017-02-17 21:10:40 +00:00
version=@version@
LIBDIR='@libdir@'
DATADIR='@datadir@'
2017-02-18 00:56:48 +00:00
[[ -r ${LIBDIR}/util.sh ]] && source ${LIBDIR}/util.sh
2017-02-17 21:10:40 +00:00
import ${LIBDIR}/util-menu.sh
import ${LIBDIR}/util-base.sh
2017-02-18 00:56:48 +00:00
import ${LIBDIR}/util-desktop.sh
2017-02-17 21:10:40 +00:00
import ${LIBDIR}/util-disk.sh
2017-03-13 05:36:40 +00:00
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
2017-03-04 16:00:29 +00:00
2017-03-05 23:26:55 +00:00
# run in debug mode with -d option
[[ $1 == "-d" ]] && declare -i debug=1
2017-02-17 04:19:17 +00:00
id_system
2017-03-06 01:26:25 +00:00
select_language
2017-02-17 04:19:17 +00:00
mk_connection
check_requirements
greeting
main_menu