From ea774ba3473930f583a66d09f60110ca66dd73ca Mon Sep 17 00:00:00 2001 From: Baptiste Daroussin Date: Mon, 14 Sep 2020 08:00:06 +0000 Subject: [PATCH] Remove useless pkg-install script for things that can be done via pkg-install --- graphics/colord/pkg-install | 11 ----------- graphics/colord/pkg-plist | 4 ++-- 2 files changed, 2 insertions(+), 13 deletions(-) delete mode 100644 graphics/colord/pkg-install diff --git a/graphics/colord/pkg-install b/graphics/colord/pkg-install deleted file mode 100644 index 30e77997e670..000000000000 --- a/graphics/colord/pkg-install +++ /dev/null @@ -1,11 +0,0 @@ -#!/bin/sh - -case $2 in -POST-INSTALL) - /bin/mkdir -p /var/db/colord/icc - /bin/chmod 0755 /var/db/colord - /usr/sbin/chown colord:colord /var/db/colord - /usr/sbin/chown colord:colord /var/db/colord/icc - exit 0 - ;; -esac diff --git a/graphics/colord/pkg-plist b/graphics/colord/pkg-plist index d6171a232cb6..15d0129f0457 100644 --- a/graphics/colord/pkg-plist +++ b/graphics/colord/pkg-plist @@ -201,5 +201,5 @@ share/locale/uk/LC_MESSAGES/colord.mo share/locale/zh_CN/LC_MESSAGES/colord.mo share/locale/zh_TW/LC_MESSAGES/colord.mo share/polkit-1/actions/org.freedesktop.color.policy -@dir /var/db/colord/icc -@dir /var/db/colord +@dir(colord,colord,0755) /var/db/colord/icc +@dir(colord,colord,0755) /var/db/colord