From ac81f1ced172a2d4910287d7f3181e8d0650a462 Mon Sep 17 00:00:00 2001 From: milisbir Date: Sat, 30 Dec 2017 03:24:07 +0200 Subject: [PATCH] cups.gunc --- talimatname/genel/c/cups/cups.kos-kur | 8 ++++++++ talimatname/genel/c/cups/cups.kos-sil | 17 +++++++++++++++++ 2 files changed, 25 insertions(+) create mode 100644 talimatname/genel/c/cups/cups.kos-kur create mode 100644 talimatname/genel/c/cups/cups.kos-sil diff --git a/talimatname/genel/c/cups/cups.kos-kur b/talimatname/genel/c/cups/cups.kos-kur new file mode 100644 index 000000000..c01522296 --- /dev/null +++ b/talimatname/genel/c/cups/cups.kos-kur @@ -0,0 +1,8 @@ +mkdir -p /usr/share/icons/hicolor/16x16 +mkdir -p /usr/share/icons/hicolor/16x16/apps +mkdir -p /usr/share/icons/hicolor/32x32 +mkdir -p /usr/share/icons/hicolor/32x32/apps +mkdir -p /usr/share/icons/hicolor/128x128 +mkdir -p /usr/share/icons/hicolor/128x128/apps +mkdir -p /usr/share/icons/hicolor/64x64/apps +mkdir -p /usr/share/icons/hicolor/64x64 diff --git a/talimatname/genel/c/cups/cups.kos-sil b/talimatname/genel/c/cups/cups.kos-sil new file mode 100644 index 000000000..cc6d0536f --- /dev/null +++ b/talimatname/genel/c/cups/cups.kos-sil @@ -0,0 +1,17 @@ +#!/bin/sh +for _kurtar in \ +'/etc/cups' \ +'/etc/cups/ppd' \ +'/usr/share/icons/hicolor/16x16' \ +'/usr/share/icons/hicolor/16x16/apps' \ +'/usr/share/icons/hicolor/32x32' \ +'/usr/share/icons/hicolor/32x32/apps' \ +'/usr/share/icons/hicolor/128x128' \ +'/usr/share/icons/hicolor/128x128/apps' \ +'/usr/share/icons/hicolor/64x64/apps' \ +'/usr/share/icons/hicolor/64x64' ; \ +do + +sed -i '\|'\'$_kurtar\''|d' /var/lib/pkg/DB/cups/kurulan + +done