Broken-symlink: python-docutils
by marav from LinuxQuestions.org on (#6M1RH)
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 *.pyAll python scripts in $PKG/usr/bin already have no .py extension
Warning:
I discourage people to manually
Code:# rm /usr/bin/*:D
In case of => rm /usr/bin/\*
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 *.pyAll python scripts in $PKG/usr/bin already have no .py extension
Warning:
I discourage people to manually
Code:# rm /usr/bin/*:D
In case of => rm /usr/bin/\*