mirror of
https://gitlab.com/prism7/archery.git
synced 2026-04-28 01:17:35 +02:00
Change: Printer/Scanner support: The printer-scanner package list now derives from an array instead of hardcoded variables.
Change: Cosmic Desktop has left the beta phase and is in stable now. Packages have been re-arranged.
This commit is contained in:
@@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
# Amelia Installer
|
# Amelia Installer
|
||||||
# Source: https://gitlab.com/prism7/archery
|
# Source: https://gitlab.com/prism7/archery
|
||||||
# Version: 1.1.5
|
# Version: 1.1.6
|
||||||
|
|
||||||
set -euo pipefail
|
set -euo pipefail
|
||||||
###################################################################################################
|
###################################################################################################
|
||||||
@@ -2126,7 +2126,7 @@ ${magenta}###${nc}------------------------------------${magenta}[ ${bwhite}Deskt
|
|||||||
|
|
||||||
[12] Custom Arch Linux
|
[12] Custom Arch Linux
|
||||||
|
|
||||||
[13] Cosmic ${red}## ${yellow}Beta ${red}## "
|
[13] Cosmic "
|
||||||
BLUE "
|
BLUE "
|
||||||
|
|
||||||
|
|
||||||
@@ -2512,13 +2512,15 @@ Enter [y/N]: "
|
|||||||
|
|
||||||
case "${printer}" in
|
case "${printer}" in
|
||||||
y)
|
y)
|
||||||
|
collect_print_pkgs=(bluez-cups cups-pdf cups-browsed cups-pk-helper foomatic-db-gutenprint-ppds gutenprint ipp-usb libusb nss-mdns sane-airscan system-config-printer xdg-utils colord)
|
||||||
|
|
||||||
if [[ "${desktop}" == "2" ]]; then
|
if [[ "${desktop}" == "2" ]]; then
|
||||||
print_pkgs="bluez-cups cups-pdf cups-browsed cups-pk-helper foomatic-db-gutenprint-ppds gutenprint ipp-usb libusb nss-mdns sane-airscan print-manager skanlite system-config-printer xdg-utils colord"
|
collect_print_pkgs+=(print-manager skanlite)
|
||||||
elif [[ "${desktop}" == "4" ]]; then
|
elif [[ "${desktop}" == "4" ]]; then
|
||||||
print_pkgs="bluez-cups cups-pdf cups-browsed cups-pk-helper foomatic-db-gutenprint-ppds gutenprint ipp-usb libusb nss-mdns sane-airscan simple-scan system-config-printer xdg-utils colord"
|
collect_print_pkgs+=(simple-scan)
|
||||||
else
|
fi
|
||||||
print_pkgs="bluez-cups cups-pdf cups-browsed cups-pk-helper foomatic-db-gutenprint-ppds gutenprint ipp-usb libusb nss-mdns sane-airscan system-config-printer xdg-utils colord"
|
|
||||||
fi ;;
|
print_pkgs="${collect_print_pkgs[*]}" ;;
|
||||||
n)
|
n)
|
||||||
print_pkgs=""
|
print_pkgs=""
|
||||||
skip ;;
|
skip ;;
|
||||||
@@ -6198,7 +6200,7 @@ pkg_collection() {
|
|||||||
deskpkgs="${custarray[*]}" ;;
|
deskpkgs="${custarray[*]}" ;;
|
||||||
|
|
||||||
13) # Cosmic Desktop:
|
13) # Cosmic Desktop:
|
||||||
deskpkgs="${basepkgs[*]} cosmic cosmic-player dconf gnome-keyring gvfs gvfs-dnssd gvfs-nfs gvfs-smb packagekit power-profiles-daemon pulseaudio-alsa"
|
deskpkgs="${basepkgs[*]} cosmic dconf gnome-keyring gvfs gvfs-dnssd gvfs-nfs gvfs-smb packagekit power-profiles-daemon pulseaudio-alsa"
|
||||||
displaymanager="cosmic-greeter" ;;
|
displaymanager="cosmic-greeter" ;;
|
||||||
esac
|
esac
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user