Skip to content
This repository has been archived by the owner on Feb 6, 2024. It is now read-only.

Commit

Permalink
chore(script): include printer drivers in the system image
Browse files Browse the repository at this point in the history
  • Loading branch information
c0deplayer committed Feb 4, 2024
1 parent 1326f29 commit c57bfac
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
1 change: 1 addition & 0 deletions config/common_modules/scripts.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
type: script
scripts:
- file-permissions.sh
- printer-drivers.sh
- power-scheduler.sh
- systemwide-themes.sh
13 changes: 13 additions & 0 deletions config/scripts/printer-drivers.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
#!/usr/bin/env bash

# Tell build process to exit if there are any errors.
set -euo pipefail

RPM_ROOT="/tmp/rpms"

wget -O "${RPM_ROOT}/brother-hl-1112E-CUPS.rpm" https://support.brother.com/g/b/files/dlf/dlf007073/hl1110cupswrapper-3.0.1-1.i386.rpm
wget -O "${RPM_ROOT}/brother-hl-1112E-LPR.rpm" https://support.brother.com/g/b/files/dlf/dlf007071/hl1110lpr-3.0.1-1.i386.rpm

cd "${RPM_ROOT}" || exit

rpm-ostree install brother-hl-1112E-CUPS.rpm brother-hl-1112E-LPR.rpm

0 comments on commit c57bfac

Please sign in to comment.