Version bump for auto-update
This commit is contained in:
parent
289d60ba4d
commit
2947da8c42
19
installer
19
installer
@ -6,7 +6,7 @@
|
|||||||
# AIF, Calamares, and the Arch Wiki.. Credit where credit is due
|
# AIF, Calamares, and the Arch Wiki.. Credit where credit is due
|
||||||
|
|
||||||
# shellcheck disable=2086,2046,2254,2164,2030,2031,2001
|
# shellcheck disable=2086,2046,2254,2164,2030,2031,2001
|
||||||
VER=2.18
|
VER=2.19
|
||||||
|
|
||||||
# default values {
|
# default values {
|
||||||
|
|
||||||
@ -489,6 +489,8 @@ select_show()
|
|||||||
[[ $INSTALL_WMS == *dwm* ]] && pkgs="dwm st dmenu $pkgs"
|
[[ $INSTALL_WMS == *dwm* ]] && pkgs="dwm st dmenu $pkgs"
|
||||||
pkgs="${pkgs// / }"
|
pkgs="${pkgs// / }"
|
||||||
pkgs="${pkgs# }"
|
pkgs="${pkgs# }"
|
||||||
|
|
||||||
|
# make a cleaner package list broken into lines around 60 characters
|
||||||
pkgs="${pkgs// /\\n}"
|
pkgs="${pkgs// /\\n}"
|
||||||
typeset -i count=0
|
typeset -i count=0
|
||||||
while read -re pkg; do
|
while read -re pkg; do
|
||||||
@ -496,7 +498,7 @@ select_show()
|
|||||||
fmtpkgs+="$pkg "
|
fmtpkgs+="$pkg "
|
||||||
(( count += ${#pkg} + 1 ))
|
(( count += ${#pkg} + 1 ))
|
||||||
else
|
else
|
||||||
fmtpkgs+="\n $pkg "
|
fmtpkgs+="\n $pkg " # new line so we need to match indentation
|
||||||
count=$(( ${#pkg} + 1 ))
|
count=$(( ${#pkg} + 1 ))
|
||||||
fi
|
fi
|
||||||
done < <(echo -e "$pkgs")
|
done < <(echo -e "$pkgs")
|
||||||
@ -1663,14 +1665,14 @@ mount_filesystem()
|
|||||||
{
|
{
|
||||||
local part="$1"
|
local part="$1"
|
||||||
local fs=''
|
local fs=''
|
||||||
local cur txt pt
|
local cur txt
|
||||||
cur="$(lsblk -lno FSTYPE "$part" 2> /dev/null)"
|
cur="$(lsblk -lno FSTYPE "$part" 2> /dev/null)"
|
||||||
txt="\nSelect which file system to use for $(part_pretty "$part")\n\ndefault: ext4"
|
txt="\nSelect which file system to use for $(part_pretty "$part")\n\ndefault: ext4"
|
||||||
|
|
||||||
if [[ $cur ]]; then
|
if [[ $cur ]]; then
|
||||||
txt+="\nexisting: $cur"
|
|
||||||
# bail early if the partition was created in part_auto()
|
# bail early if the partition was created in part_auto()
|
||||||
[[ $part == "$AUTO_ROOT" ]] && return 0
|
[[ $part == "$AUTO_ROOT" ]] && return 0
|
||||||
|
txt+="\nexisting: $cur"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
BTRFS=0
|
BTRFS=0
|
||||||
@ -1900,7 +1902,7 @@ install_user()
|
|||||||
local groups='video,log,rfkill,wheel'
|
local groups='video,log,rfkill,wheel'
|
||||||
[[ -e $MNT/etc/X11/xorg.conf.d/20-nvidia.conf && -e $MNT/usr/bin/optirun ]] && groups+=',bumblebee'
|
[[ -e $MNT/etc/X11/xorg.conf.d/20-nvidia.conf && -e $MNT/usr/bin/optirun ]] && groups+=',bumblebee'
|
||||||
|
|
||||||
rm -f "$MNT/root/.zlogin" # remove welcome message
|
# rm -f "$MNT/root/.zlogin" # remove welcome message
|
||||||
|
|
||||||
echo "Setting root user password and shell"
|
echo "Setting root user password and shell"
|
||||||
chrun "chpasswd <<< 'root:$ROOT_PASS'" 2> "$ERR" 2>&1
|
chrun "chpasswd <<< 'root:$ROOT_PASS'" 2> "$ERR" 2>&1
|
||||||
@ -2439,8 +2441,11 @@ config_console()
|
|||||||
cat > "$AUTOLOGIN_SERV/autologin.conf" <<- EOF
|
cat > "$AUTOLOGIN_SERV/autologin.conf" <<- EOF
|
||||||
[Service]
|
[Service]
|
||||||
ExecStart=
|
ExecStart=
|
||||||
ExecStart=-/sbin/agetty --autologin $NEWUSER --noclear %I 38400 linux
|
ExecStart=-/sbin/agetty -o '-p -f -- \\\u' --noclear --autologin $NEWUSER - \$TERM
|
||||||
EOF
|
EOF
|
||||||
|
# [Service]
|
||||||
|
# ExecStart=
|
||||||
|
# ExecStart=-/sbin/agetty --autologin $NEWUSER --noclear %I 38400 linux
|
||||||
else
|
else
|
||||||
rm -rf "$AUTOLOGIN_SERV"
|
rm -rf "$AUTOLOGIN_SERV"
|
||||||
fi
|
fi
|
||||||
@ -2471,7 +2476,7 @@ config_console()
|
|||||||
echo \$PATH | grep -q "\$HOME/.local/bin:" || export PATH="\$HOME/.local/bin:\$PATH"
|
echo \$PATH | grep -q "\$HOME/.local/bin:" || export PATH="\$HOME/.local/bin:\$PATH"
|
||||||
|
|
||||||
# automatically run $ses when logging in on tty1
|
# automatically run $ses when logging in on tty1
|
||||||
[ -z "\$DISPLAY" ] && [ \$XDG_VTNR -eq 1 ] && $ses
|
[ -z "\$DISPLAY" ] && [ \$XDG_VTNR -eq 1 ] && sleep 2 && $ses
|
||||||
EOF
|
EOF
|
||||||
else
|
else
|
||||||
rm -rf "$MNT/home/$NEWUSER/.xinitrc" "$MNT/root/.xinitrc"
|
rm -rf "$MNT/home/$NEWUSER/.xinitrc" "$MNT/root/.xinitrc"
|
||||||
|
Reference in New Issue
Block a user