summaryrefslogtreecommitdiff
path: root/configs/profile/root-image/root/customize_root_image-constants.inc
diff options
context:
space:
mode:
Diffstat (limited to 'configs/profile/root-image/root/customize_root_image-constants.inc')
-rw-r--r--configs/profile/root-image/root/customize_root_image-constants.inc15
1 files changed, 8 insertions, 7 deletions
diff --git a/configs/profile/root-image/root/customize_root_image-constants.inc b/configs/profile/root-image/root/customize_root_image-constants.inc
index a334924..d0359a6 100644
--- a/configs/profile/root-image/root/customize_root_image-constants.inc
+++ b/configs/profile/root-image/root/customize_root_image-constants.inc
@@ -30,6 +30,8 @@ readonly OPENRC_SERVICES_GUI="alsasound \
readonly OPENRC_SERVICES="${OPENRC_SERVICES_ALL} ${OPENRC_SERVICES_GUI}"
[[ "${iso_gui}" == 'cli' ]] && readonly SYSTEMD_SERVICES="${SYSTEMD_SERVICES_ALL}" ||
readonly SYSTEMD_SERVICES="${SYSTEMD_SERVICES_ALL} ${SYSTEMD_SERVICES_GUI}"
+[ "${enable_offline_install}" == 'true' ] && readonly INSTALL_TYPE='Complete' || \
+ readonly INSTALL_TYPE='NetInstall'
readonly DEFAULT_SHELL=/bin/bash
readonly NETINSTALL_MSG="To install Parabola, the system must be connected to the internet."
readonly COMPLETE_MSG="This ISO is capable of installing a complete Parabola system\n\
@@ -37,16 +39,15 @@ readonly COMPLETE_MSG="This ISO is capable of installing a complete Parabola sys
>>>>the latest packages from the internet, run the following command\n\
>>>>before beginning the install:\n\
# cp /etc/pacman-online.conf /etc/pacman.conf"
-[ "${enable_offline_install}" == 'false' ] && readonly NETWORK_MOTD_MSG=${NETINSTALL_MSG} || \
- readonly NETWORK_MOTD_MSG=${COMPLETE_MSG}
-readonly ROOT_SKEL_FILES="/etc/skel/.automated_script.sh \
- /etc/skel/.bash_logout \
- /etc/skel/.bash_profile "
+[ "${INSTALL_TYPE}" == 'Complete' ] && readonly NETWORK_MOTD_MSG=${NETINSTALL_MSG} || \
+ readonly NETWORK_MOTD_MSG=${COMPLETE_MSG}
+readonly ROOT_SKEL_FILES="/etc/skel/.bash_logout \
+ /etc/skel/.bash_profile \
+ /etc/skel/install-openrc-lxde.sh \
+ /etc/skel/install-systemd-mate.sh"
readonly LIVE_USER=parabola
readonly LIVE_USER_GROUPS="adm,audio,floppy,log,network,rfkill,scanner,storage,optical,power,wheel"
readonly OPENRC_USER_GROUPS="disk,sys"
[[ "${iso_init}" == 'openrc' ]] && readonly USER_GROUPS="${LIVE_USER_GROUPS},${OPENRC_USER_GROUPS}" ||
readonly USER_GROUPS="${LIVE_USER_GROUPS}"
-[ "${enable_offline_install}" == 'true' ] && readonly INSTALL_TYPE="Complete" || \
- readonly INSTALL_TYPE="NetInstall"
readonly PRETTY_NAME="$(echo ${iso_title} | cut -d ' ' -f -5) - (${INSTALL_TYPE})"