LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
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 04-12-2024, 04:18 PM   #1
marav
LQ Sage
 
Registered: Sep 2018
Location: Gironde
Distribution: Slackware
Posts: 5,370

Rep: Reputation: 4086Reputation: 4086Reputation: 4086Reputation: 4086Reputation: 4086Reputation: 4086Reputation: 4086Reputation: 4086Reputation: 4086Reputation: 4086Reputation: 4086
Broken-symlink: python-docutils


In the SlackBuild
Code:
cd $PKG/usr/bin
  for i in *.py; do
    ln -s "$i" "$PKG/usr/bin/$(basename $i .py)"
  done
cd -
leads to :
Code:
# file "/usr/bin/*"
/usr/bin/*: broken symbolic link to *.py
All python scripts in $PKG/usr/bin already have no .py extension

Warning:
I discourage people to manually
Code:
# rm /usr/bin/*

In case of => rm /usr/bin/\*

Last edited by marav; 04-12-2024 at 04:23 PM.
 
Old 04-13-2024, 09:22 AM   #2
HQuest
Member
 
Registered: Jan 2018
Location: 2001:470:c2d0::/56
Distribution: Anyone that I can interface with
Posts: 88

Rep: Reputation: Disabled
Quote:
Originally Posted by marav View Post
Warning:
I discourage people to manually
Code:
# rm /usr/bin/*

In case of => rm /usr/bin/\*
Unless you want to give it a shot on your disaster recovery processes...
 
  


Reply



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
[PATCH] gv, python-docutils, and countmail Xsane Slackware 0 11-27-2019 01:44 AM
[SOLVED] symlink to symlink confusion, Reprovo Linux - Newbie 2 11-18-2014 02:17 PM
[SOLVED] [Possible bug] Broken libffi symlink in current? sombragris Slackware 2 03-23-2013 11:00 PM
Question How to get stat() of symlink and not of target of symlink ? ronbarak Programming 3 11-08-2010 12:14 PM
LXer: Python Python Python (aka Python 3) LXer Syndicated Linux News 0 08-05-2009 08:30 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 01:07 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
Open Source Consulting | Domain Registration