forked from rickellis/ArchMatic
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path6-printers.sh
executable file
·30 lines (26 loc) · 905 Bytes
/
6-printers.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
#!/usr/bin/env bash
#-------------------------------------------------------------------------
# _ _ __ __ _ _
# /_\ _ _ __| |_ | \/ |__ _| |_(_)__
# / _ \| '_/ _| ' \| |\/| / _` | _| / _|
# /_/ \_\_| \__|_||_|_| |_\__,_|\__|_\__|
# Arch Linux Post Install Setup and Config
#-------------------------------------------------------------------------
echo
echo "INSTALLING PRINTER DRIVERS"
echo
PKGS=(
'cups' # Open source printer drivers
'cups-pdf' # PDF support for cups
'ghostscript' # PostScript interpreter
'gsfonts' # Adobe Postscript replacement fonts
'hplip' # HP Drivers
'system-config-printer' # Printer setup utility
)
for PKG in "${PKGS[@]}"; do
echo "INSTALLING ${PKG}"
sudo pacman -S "$PKG" --noconfirm --needed
done
echo
echo "Done!"
echo