diff options
Diffstat (limited to '')
-rw-r--r-- | debian/dpkg.postinst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/debian/dpkg.postinst b/debian/dpkg.postinst index 6388730..21c57bf 100644 --- a/debian/dpkg.postinst +++ b/debian/dpkg.postinst @@ -59,7 +59,7 @@ setup_aliases() # Add a backward compatibility symlink alias for s-s-d, which is now # installed in its canonical location. - if [ ! -f "$DPKG_ROOT/sbin/$prog" ]; then + if [ ! -f "$DPKG_ROOT/sbin/$prog" ] && [ -d "$DPKG_ROOT/sbin" ]; then ln -s "/usr/sbin/$prog" "$DPKG_ROOT/sbin/$prog" fi } |