File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ EXEDIR="$( cd -P "$( dirname "$SOURCE" )" && pwd )"
99cd " $EXEDIR "
1010
1111# Make sure the USER envar is set (on Android it is not)
12- export USER=" $( whoami) "
12+ [ -z " ${USER} " ] && export USER=" $( whoami) "
1313
1414source " ${EXEDIR} /scripts/common/filesystem.sh"
1515source " ${REPO_DIR} /scripts/common/common.sh"
7373# Configure and customise the system
7474run_script " ${REPO_SCRIPTS_DIR} /configure-system.sh" # Run after update-rcs.sh
7575if [ " ${OS} " = ' Linux' ] \
76- && ${HAS_GUI} \
77- && ! [[ " ${DISTRO} " =~ ' WSL' ]]; then
76+ && ${HAS_GUI} \
77+ && ! [[ " ${DISTRO} " =~ ' WSL' ]]; then
7878 run_script " ${REPO_SCRIPTS_DIR} /customise-launchers.sh"
7979 run_script " ${REPO_SCRIPTS_DIR} /configure-autostart-apps.sh"
8080 run_script " ${REPO_SCRIPTS_DIR} /configure-default-apps.sh"
@@ -97,4 +97,4 @@ run_script "${REPO_SCRIPTS_DIR}/clean-files.sh"
9797# Assign users and groups
9898[ " ${OS} " = ' Linux' ] && run_script_as_su " ${REPO_SCRIPTS_DIR} /assign-users-and-groups.sh"
9999
100- source ~ /.bashrc
100+ source " ${HOME} /.bashrc"
Original file line number Diff line number Diff line change 11#! /bin/bash
2- source " scripts/common/common.sh"
2+ source ' scripts/common/common.sh'
33
44GRUB_CFG_PATH=" ${ROOT_BOOT} /grub/grub.cfg"
55
You can’t perform that action at this time.
0 commit comments