From 35d5eb9268ed9cac89313d07f0ae1612016c6009 Mon Sep 17 00:00:00 2001
From: fsLeg <fsleg@t-rg.ws>
Date: Sat, 20 Sep 2014 14:34:54 +0400
Subject: [PATCH] Fixed config name in /etc/default

---
 opera/opera.SlackBuild | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/opera/opera.SlackBuild b/opera/opera.SlackBuild
index 2d949c2..63660df 100755
--- a/opera/opera.SlackBuild
+++ b/opera/opera.SlackBuild
@@ -143,14 +143,14 @@ rm -rf usr/share/{lintian,menu}
 
 # Add support for the alienBOB's chromium-pepperflash package
 mkdir -p etc/default
-cat $CWD/opera.conf > etc/default/opera${FLAVOR}.conf
+cat $CWD/opera.conf > etc/default/opera${FLAVOR}
 
 # Add apropriate launcher
 rm -rf usr/bin/opera${FLAVOR}
 cat $CWD/opera.sh > usr/bin/opera${FLAVOR}
 sed -i "s/_LIBDIRSUFFIX_/${LIBDIRSUFFIX}/" \
     usr/bin/opera${FLAVOR} \
-    etc/default/opera${FLAVOR}.conf
+    etc/default/opera${FLAVOR}
 chmod 755 usr/bin/opera${FLAVOR}
 
 # Move everything to $PKG
@@ -177,7 +177,7 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
 
 # Change Opera flavour in some files
 sed -i "s/opera-beta/opera${FLAVOR}/g" $PKG/usr/bin/opera${FLAVOR} \
-                                        $PKG/etc/default/opera${FLAVOR}.conf \
+                                        $PKG/etc/default/opera${FLAVOR} \
                                         $PKG/install/slack-desc
 
 cd $PKG
-- 
2.46.3