Compare commits
14 Commits
main
...
aa422f434e
| Author | SHA1 | Date | |
|---|---|---|---|
|
aa422f434e
|
|||
|
66204958d9
|
|||
|
2ddb6bdfb8
|
|||
|
fca5e6c6fc
|
|||
|
7135728394
|
|||
|
f0bfcbad56
|
|||
|
2fdc93d9a1
|
|||
|
fc18016a9e
|
|||
|
aafbd7ef8f
|
|||
|
fcf09e2ffc
|
|||
|
cda85111e7
|
|||
|
d1e3cedd1f
|
|||
|
d85a175989
|
|||
|
39065008aa
|
21
install.sh
21
install.sh
@@ -90,6 +90,27 @@ if [[ "${ID}" == 'elementary' ]]; then
|
|||||||
network-manager \
|
network-manager \
|
||||||
openssh-{client,server} \
|
openssh-{client,server} \
|
||||||
popularity-contest
|
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
|
elif [[ "${ID}" == 'fedora' ]]; then
|
||||||
if [[ "${VERSION_ID}" -lt '41' ]]; then
|
if [[ "${VERSION_ID}" -lt '41' ]]; then
|
||||||
dnf \
|
dnf \
|
||||||
|
|||||||
@@ -457,7 +457,6 @@ elif [[ "${ID}" == 'debian' ]]; then
|
|||||||
--include=printer-driver-all \
|
--include=printer-driver-all \
|
||||||
--include=systemd-timesyncd \
|
--include=systemd-timesyncd \
|
||||||
--include=tasksel \
|
--include=tasksel \
|
||||||
--include=zstd \
|
|
||||||
"${VERSION_CODENAME}" \
|
"${VERSION_CODENAME}" \
|
||||||
/mnt
|
/mnt
|
||||||
fi
|
fi
|
||||||
|
|||||||
@@ -88,10 +88,6 @@ EOF
|
|||||||
audio,cdrom,dip,floppy,wheel,video,dialout \
|
audio,cdrom,dip,floppy,wheel,video,dialout \
|
||||||
${USERNAME}
|
${USERNAME}
|
||||||
else
|
else
|
||||||
if [[ -z "$(cat /etc/group | grep 'lpadmin')" ]]; then
|
|
||||||
groupadd --gid 108 lpadmin
|
|
||||||
fi
|
|
||||||
|
|
||||||
usermod \
|
usermod \
|
||||||
-a \
|
-a \
|
||||||
-G \
|
-G \
|
||||||
|
|||||||
Reference in New Issue
Block a user