Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Step:15
neon
replace_manpage_with_links.sh
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File replace_manpage_with_links.sh of Package neon
#!/bin/bash # Is this just a linked manpage? echo "Processing $1" grep '^\.so man\([0-7]\?\)/.*\1$' "$1" || exit 0 # extract target name TARGET=`sed -e 's/^\.so man\([0-7]\?\)\///' "$1"` MANDIR=`dirname "$1"` # verify that target exists [ -e "$MANDIR"/"$TARGET" ] || exit 1 # replace manpage reload with symlink echo " -> $TARGET" rm "$1" ln -s $TARGET "$1"
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor