LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices



Reply
 
Search this Thread
Old 01-18-2014, 08:29 PM   #1
J1NKL3
Member
 
Registered: Mar 2012
Distribution: Slackware64-current
Posts: 77

Rep: Reputation: Disabled
Problems running ruario's latest-chrome


It's always worked just fine but today when I run it after it finishes downloading it's returning

Code:
ln: failed to create symbolic link 'google-chrome.desktop': File exists
 
Old 01-19-2014, 02:59 AM   #2
ruario
Senior Member
 
Registered: Jan 2011
Location: Oslo, Norway
Distribution: Slackware
Posts: 1,902

Rep: Reputation: 963Reputation: 963Reputation: 963Reputation: 963Reputation: 963Reputation: 963Reputation: 963Reputation: 963
It seems that Google changed the layout of their package and now places google-chrome.desktop in the right place from the beginning. It used to be in /opt and I symlinked it into the right place. Since it is already in the correct location it prevents the symlink creation from working. Anyway I have uploaded a new version, where I now check if google-chrome.desktop is already correctly placed and only symlink if it isn't:

http://www.panix.com/~ruari/latest-chrome

Last edited by ruario; 01-19-2014 at 03:07 AM. Reason: Clarified the change
 
2 members found this post helpful.
Old 01-19-2014, 06:11 AM   #3
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 5,384

Rep: Reputation: Disabled
I sent Pat a diff for the new google-chrome last week, but I guess it needs some time to end up in the slackware-current tree.

This is the diff against the google-Chrome.SlackBuild in the /extra/google/chrome directory. It just removed three lines:
Code:
diff -u /extra/google-chrome/google-chrome.SlackBuild /tmp/google-chrome/build/google-chrome.SlackBuild
--- extra/google-chrome/google-chrome.SlackBuild     2012-08-01 20:48:31.000000000 +0200
+++ /tmp/google-chrome/build/google-chrome.SlackBuild    2014-01-15 21:34:38.425845534 +0100
@@ -105,9 +105,6 @@

 # Install a .desktop launcher:
 sed -i -e "s#Icon=google-chrome#Icon=/opt/google/chrome/product_logo_256.png#" \
-  $PKG/opt/google/chrome/google-chrome.desktop
-mkdir -p $PKG/usr/share/applications
-ln -s /opt/google/chrome/google-chrome.desktop \
   $PKG/usr/share/applications/google-chrome.desktop

 mkdir -p $PKG/install
Eric
 
Old 01-19-2014, 11:53 AM   #4
J1NKL3
Member
 
Registered: Mar 2012
Distribution: Slackware64-current
Posts: 77

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by ruario View Post
It seems that Google changed the layout of their package and now places google-chrome.desktop in the right place from the beginning. It used to be in /opt and I symlinked it into the right place. Since it is already in the correct location it prevents the symlink creation from working. Anyway I have uploaded a new version, where I now check if google-chrome.desktop is already correctly placed and only symlink if it isn't:

http://www.panix.com/~ruari/latest-chrome
Thank you!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Firefox 21 and Ruario's latest-firefox script neymac Slackware 14 12-19-2013 11:25 PM
YouTube full screen not working in latest Chrome v 23 pbradaric Linux - Software 3 11-26-2012 06:20 AM
Latest Google Chrome Debian File TigerLinux Linux - Software 2 05-22-2011 11:09 AM
Latest Google Chrome OS Download: Guaranteed to Work! Teo En Ming Linux - Software 5 11-24-2009 01:40 PM
WoW Problems - Getting nothing "mousing over" NPCs. Running WINE latest WhiteyDude Linux - Games 4 03-08-2007 01:48 AM


All times are GMT -5. The time now is 09:06 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration