Skip to content
Snippets Groups Projects
Commit 7d3eb5a6 authored by Guillem Jover's avatar Guillem Jover
Browse files

debian: Do not fail the bug-script if readlink fails

When readlink fails inside a $() the whole script fails. Remove the
«set -e» from the bug-script, as making it fail will cause programs
like reportbug to make it way harder to report bugs, which is
counterproductive.

Closes: #968397
parent ee479e2c
No related branches found
No related tags found
1 merge request!3Update to 1.20.9pureos1
#!/bin/sh
set -e
for d in /bin /sbin /lib /lib32 /libo32 /libx32 /lib64; do
linkname="$(readlink $d)"
if [ "$linkname" = "usr$d" ] || [ "$linkname" = "/usr$d" ]; then
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment