You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
39 lines
1.0 KiB
39 lines
1.0 KiB
#!/bin/bash
|
|
|
|
echo 'deb http://download.opensuse.org/repositories/home:/stevenpusser/Debian_10/ /' | sudo tee /etc/apt/sources.list.d/home:stevenpusser.list
|
|
curl -fsSL http://download.opensuse.org/repositories/home:stevenpusser/Debian_10/Release.key | apt-key add
|
|
|
|
# install packages
|
|
if [ -f $SCRIPT_DIR/$PACKAGE_VARIANT.list ]; then
|
|
$APT_CMD update >>$OUTPUT 2>&1 &&
|
|
$APT_CMD install $APT_OPTIONS palemoon >>$OUTPUT 2>&1
|
|
fi
|
|
|
|
if [ $PACKAGE_VARIANT = "minimal" ]; then
|
|
cat <<EOF >/etc/skel/.config/xfce4/helpers.rc
|
|
TerminalEmulator=xterm
|
|
FileManager=pcmanfm
|
|
WebBrowser=palemoon
|
|
|
|
EOF
|
|
cat <<EOF >/root/.config/xfce4/helpers.rc
|
|
TerminalEmulator=xterm
|
|
FileManager=pcmanfm
|
|
WebBrowser=palemoon --no-sandbox
|
|
|
|
EOF
|
|
|
|
elif [ $PACKAGE_VARIANT = "standard" ]; then
|
|
cat <<EOF >/etc/skel/.config/xfce4/helpers.rc
|
|
TerminalEmulator=xfce4-terminal
|
|
FileManager=Thunar
|
|
WebBrowser=palemoon
|
|
|
|
EOF
|
|
cat <<EOF >/root/.config/xfce4/helpers.rc
|
|
TerminalEmulator=xfce4-terminal
|
|
FileManager=Thunar
|
|
WebBrowser=palemoon --no-sandbox
|
|
|
|
EOF
|
|
fi
|
|
|