-f only matches regular files, so it never matched the /dev/lp0 or /dev/usb/lp0 character device nodes, leaving dev unset and always failing. Use -e existence checks in proper if/elif priority order (lp0 > usb/lp0 > stdout), with PRINTER_DEV as an unconditional override. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com> |
||
|---|---|---|
| .gitignore | ||
| archbaseos-guided-install.sh | ||
| ascii.conf | ||
| exec-cycle.sh | ||
| install-deps.sh | ||
| keybinds.conf | ||
| photobooth.py | ||
| txt2printr.sh | ||
| webcam.conf | ||
| webcam2ascii.sh | ||
| yay-installer.sh | ||