File: printer-driver-foo2zjs.postinst

package info (click to toggle)
foo2zjs 20171202dfsg0-2
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 9,320 kB
  • sloc: ansic: 40,789; xml: 12,512; sh: 7,385; makefile: 1,705; objc: 573; tcl: 173; perl: 102; python: 8
file content (12 lines) | stat: -rw-r--r-- 253 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/sh

set -e

if [ "$1" = configure ]; then
    # Move user-downloaded firmware files
    if ls /usr/share/foo2zjs/firmware/*.dl >/dev/null 2>/dev/null; then
	mv /usr/share/foo2zjs/firmware/*.dl /lib/firmware/hp/ 2>/dev/null
    fi
fi

#DEBHELPER#