diff options
author | Pouria Rezaei <Pouria.rz@outlook.com> | 2022-03-03 09:14:32 +0330 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2022-03-03 15:56:40 +0700 |
commit | 902f5f2dbec6127fc88d98b4afe1ad1fd09d4a96 (patch) | |
tree | cf97d87e5e06f7a773afc71d5524669c8205bca1 /network/windscribe | |
parent | cdfdae2fbd03f7265e7806628aa655169e1f26cd (diff) |
network/windscribe: Update path to /opt
Let's investigate 32bit system thingy later, shall we?
Signed-off-by: Pouria Rezaei <Pouria.rz@outlook.com>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'network/windscribe')
-rw-r--r-- | network/windscribe/path.diff | 6 | ||||
-rw-r--r-- | network/windscribe/rc.windscribe | 2 | ||||
-rw-r--r-- | network/windscribe/windscribe.SlackBuild | 4 |
3 files changed, 6 insertions, 6 deletions
diff --git a/network/windscribe/path.diff b/network/windscribe/path.diff index aded7fb016d8c..af1e39ddac870 100644 --- a/network/windscribe/path.diff +++ b/network/windscribe/path.diff @@ -7,7 +7,7 @@ index 602d584..d9baeab 100644 [Service] Type=simple -ExecStart=/usr/local/windscribe/helper -+ExecStart=/usr/lib64/windscribe/helper ++ExecStart=/opt/windscribe/helper [Install] WantedBy=multi-user.target @@ -21,7 +21,7 @@ index 4d81580..301fb8d 100644 <allow_active>auth_admin_keep</allow_active> </defaults> - <annotate key="org.freedesktop.policykit.exec.path">/usr/local/windscribe/windscribe-authhelper</annotate> -+ <annotate key="org.freedesktop.policykit.exec.path">/usr/lib64/windscribe/windscribe-authhelper</annotate> ++ <annotate key="org.freedesktop.policykit.exec.path">/opt/windscribe/windscribe-authhelper</annotate> <annotate key="org.freedesktop.policykit.exec.allow_gui">true</annotate> </action> </policyconfig> @@ -34,7 +34,7 @@ index 8118766..731074b 100644 Type=Application Terminal=false -Exec=/usr/local/windscribe/Windscribe %F -+Exec=/usr/lib64/windscribe/Windscribe %F ++Exec=/opt/windscribe/Windscribe %F Name=Windscribe Icon=windscribe Categories=Utility;Security diff --git a/network/windscribe/rc.windscribe b/network/windscribe/rc.windscribe index ac5a4034030e9..dc3b523ffd234 100644 --- a/network/windscribe/rc.windscribe +++ b/network/windscribe/rc.windscribe @@ -4,7 +4,7 @@ PRGNAM=helper PID=/var/run/$PRGNAM.pid -DAEMON=/usr/lib64/windscribe/helper +DAEMON=/opt/windscribe/helper # diff --git a/network/windscribe/windscribe.SlackBuild b/network/windscribe/windscribe.SlackBuild index a515980daa382..73a06dc11f9b6 100644 --- a/network/windscribe/windscribe.SlackBuild +++ b/network/windscribe/windscribe.SlackBuild @@ -71,8 +71,8 @@ mkdir -p $PRGNAM-$VERSION cd $PRGNAM-$VERSION rpm2cpio $CWD/${PRGNAM}_${VERSION}_beta_${ARCH}.rpm | cpio -idmv -mkdir -p usr/lib64 -mv usr/local/$PRGNAM usr/lib64/ +mkdir opt +mv usr/local/$PRGNAM opt/ patch -p1 < $CWD/path.diff rm -fR etc/{systemd,windscribe/update-systemd-resolved} usr/local |