Compare commits
3 Commits
aa422f434e
...
d706c613f3
Author | SHA1 | Date | |
---|---|---|---|
d706c613f3
|
|||
8ed4ca0653
|
|||
adf5b299bb
|
21
install.sh
21
install.sh
@@ -90,27 +90,6 @@ if [[ "${ID}" == 'elementary' ]]; then
|
||||
network-manager \
|
||||
openssh-{client,server} \
|
||||
popularity-contest
|
||||
# elif [[ "${ID}" == 'debian' ]]; then
|
||||
# apt \
|
||||
# install \
|
||||
# --yes \
|
||||
# console-setup \
|
||||
# cryptsetup \
|
||||
# curl \
|
||||
# dpkg-dev \
|
||||
# efibootmgr \
|
||||
# ethtool \
|
||||
# firmware-{ast,atheros,bnx{2,2x},brcm80211,ipw2x00,iwlwifi,libertas,linux,realtek,zd1211} \
|
||||
# flatpak \
|
||||
# keyboard-configuration \
|
||||
# linux-{headers,image}-amd64 \
|
||||
# locales \
|
||||
# nano \
|
||||
# network-manager \
|
||||
# openssh-{client,server} \
|
||||
# popularity-contest \
|
||||
# printer-driver-all \
|
||||
# tasksel
|
||||
elif [[ "${ID}" == 'fedora' ]]; then
|
||||
if [[ "${VERSION_ID}" -lt '41' ]]; then
|
||||
dnf \
|
||||
|
@@ -457,6 +457,7 @@ elif [[ "${ID}" == 'debian' ]]; then
|
||||
--include=printer-driver-all \
|
||||
--include=systemd-timesyncd \
|
||||
--include=tasksel \
|
||||
--include=zstd \
|
||||
"${VERSION_CODENAME}" \
|
||||
/mnt
|
||||
fi
|
||||
|
@@ -88,6 +88,10 @@ EOF
|
||||
audio,cdrom,dip,floppy,wheel,video,dialout \
|
||||
${USERNAME}
|
||||
else
|
||||
if [[ -z "$(cat /etc/group | grep 'lpadmin')" ]]; then
|
||||
groupadd --gid 108 lpadmin
|
||||
fi
|
||||
|
||||
usermod \
|
||||
-a \
|
||||
-G \
|
||||
|
Reference in New Issue
Block a user