1
0
mirror of https://gitlab.com/JKANetwork/JKArch.git synced 2026-02-16 02:01:32 +01:00

First try of real printer support

This commit is contained in:
2017-01-17 20:32:55 +01:00
parent 184de3e6fa
commit b8af08c38d
2 changed files with 14 additions and 3 deletions

View File

@@ -479,8 +479,10 @@ function programasguiuser {
*6*) packages="$packages tumbler poppler-glib ffmpegthumbnailer libgsf";;&
esac
case $opt7 in
*1*) packages="$packages cups cups-filters";;&
*2*) packages="$packages hplip";;&
*1*) cups=1;;&
*2*) packages="$packages hplip"
cups=1
;;&
*3*) packages="$packages bluez bluez-utils bluez-cups bluez-firmware bluez-libs blueberry";;&
esac
case $opt8 in
@@ -512,6 +514,10 @@ function programasguiuser {
esac
allpackages=$allpackages" "$packages
packages=""
#Añadir soporte cups basico si se selecciona cualquier opcion de impresoras
if [[ $cups = "1" ]];then
allpackages=$allpackages" cups cups-filters cups-pk-helper system-config-printer"
fi
fi
}
@@ -717,6 +723,11 @@ function installconf {
execl chroot systemctl enable lightdm
execl chroot systemctl enable NetworkManager
execl chroot systemctl enable dhcpcd
# Enable cupsd service for printing
if [[ $cups = "1" ]];then
execl chroot systemctl enable org.cups.cupsd
fi
# Configure wine if neccesary