summaryrefslogtreecommitdiffstats
path: root/chromium-widevine-plugin
diff options
context:
space:
mode:
author Eric Hameleers <alien@slackware.com>2015-01-01 23:44:14 +0000
committer Eric Hameleers <alien@slackware.com>2015-01-01 23:44:14 +0000
commit4dfcfd96b87f069923bd0fd2617fae0f81a6b8b6 (patch)
treecc759cdd49be16528002240e6a82b8129563aaba /chromium-widevine-plugin
parentc2dbe1364865b78f6b2c1d98de9b81cf6abfb601 (diff)
downloadasb-4dfcfd96b87f069923bd0fd2617fae0f81a6b8b6.tar.gz
asb-4dfcfd96b87f069923bd0fd2617fae0f81a6b8b6.tar.xz
Warn user of deprecated configuration
Diffstat (limited to 'chromium-widevine-plugin')
-rw-r--r--chromium-widevine-plugin/build/doinst.sh23
1 files changed, 9 insertions, 14 deletions
diff --git a/chromium-widevine-plugin/build/doinst.sh b/chromium-widevine-plugin/build/doinst.sh
index 09e8c42f..0d184097 100644
--- a/chromium-widevine-plugin/build/doinst.sh
+++ b/chromium-widevine-plugin/build/doinst.sh
@@ -1,16 +1,11 @@
-# Make sure that Chromium finds the new plugin:
-if ! grep -q "START @PRGNAM@" etc/default/chromium 2>/dev/null ; then
- mkdir -p etc/default
- cat <<EOT >> etc/default/chromium
-
-# START @PRGNAM@
-if [ -f /usr/lib@LIBDIRSUFFIX@/Pepper/libwidevinecdmadapter.so ]
-then
- CHROMIUM_FLAGS="\$CHROMIUM_FLAGS --register-pepper-plugins=/usr/lib@LIBDIRSUFFIX@/Pepper/libwidevinecdmadapter.so#WidevineContentDecryptionModule#Enables_Widevine_licenses_for_playback_of_HTML_audio/video_content#@PEPVER@;application/x-ppapi-widevine-cdm"
-fi
-# END @PRGNAM@
-
-EOT
-
+# Warn user to clean out old configuration:
+if grep -q "START @PRGNAM@" etc/default/chromium 2>/dev/null ; then
+ echo "**"
+ echo "** Found old configuration for @PRGNAM@ -"
+ echo "** in /etc/default/chromium"
+ echo "** Please remove the block of text in that file,"
+ echo "** Enclosed by 'START @PRGNAM@' and 'END @PRGNAM@'"
+ echo "** It is no longer needed."
+ echo "**"
fi