From 99f777cac0d21c6ca743da94b9b988d1ca89eb93 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Radek=20Hu=C5=A1ek?= <husek@iuuk.mff.cuni.cz>
Date: Wed, 18 Oct 2017 21:21:16 +0200
Subject: [PATCH] rm obsolete cups-pdf-postprocess.sh

---
 cups-pdf-postprocess.desktop |  2 +-
 cups-pdf-postprocess.sh      | 16 ----------------
 2 files changed, 1 insertion(+), 17 deletions(-)
 delete mode 100755 cups-pdf-postprocess.sh

diff --git a/cups-pdf-postprocess.desktop b/cups-pdf-postprocess.desktop
index c9bf9e0..e14e592 100644
--- a/cups-pdf-postprocess.desktop
+++ b/cups-pdf-postprocess.desktop
@@ -7,6 +7,6 @@ Actions=PrintPdf;
 
 [Desktop Action PrintPdf]
 Name=Print PDF
-Exec=cups-pdf-postprocess.sh %F ""
+Exec=cups-pdf-postprocess.py %F ""
 Icon=printer
 
diff --git a/cups-pdf-postprocess.sh b/cups-pdf-postprocess.sh
deleted file mode 100755
index 68b356e..0000000
--- a/cups-pdf-postprocess.sh
+++ /dev/null
@@ -1,16 +0,0 @@
-#!/bin/bash
-
-export \
-  DISPLAY=:0 \
-  XAUTHORITY=/tmp/kde-radek/xauth-1000-_0 \
-  HOME=/home/radek \
-  KDE_SESSION_VERSION=4 \
-  XDG_CURRENT_DESKTOP=KDE
-
-exec "$(dirname "`readlink -f "$0"`")/cups-pdf-postprocess.py" "$@" <<'EOF'
-  ("Nessie gray", ["ssh", "iuuk", "lp", "-d", "nessie-gray"]),
-  ("Nessie color", ["ssh", "iuuk", "lp", "-d", "nessie-color"]),
-  ("Obludka (2nd floor)", ["ssh", "iuuk", "lp", "-d", "obludka"]),
-  ("Potvurka (Petra's office)", ["ssh", "iuuk", "lp", "-d", "potvurka"]),
-EOF
-
-- 
GitLab