Commit 95b7cdcb authored by Drew's avatar Drew

Support SUGGESTS

parent 6fcdec3a
Pipeline #1864 failed with stage
...@@ -56,6 +56,12 @@ fi ...@@ -56,6 +56,12 @@ fi
shift shift
fi fi
;; ;;
--suggests)
if [ -n "$2" ]; then
SUGGESTS=$2
shift
fi
;;
*) *)
break # default case; break out of the loop break # default case; break out of the loop
esac esac
...@@ -123,6 +129,10 @@ sed -i -e "s/Depends: \${shlibs:Depends}, \${misc:Depends}/Depends: \${shlibs:De ...@@ -123,6 +129,10 @@ sed -i -e "s/Depends: \${shlibs:Depends}, \${misc:Depends}/Depends: \${shlibs:De
sed -i -e "/Architecture: any/a \ sed -i -e "/Architecture: any/a \
Recommends: ${RECOMMENDS}" debian/control Recommends: ${RECOMMENDS}" debian/control
# Add suggests
sed -i -e "/Architecture: any/a \
Suggests: ${SUGGESTS}" debian/control
# Build the package. # Build the package.
debuild -us -uc debuild -us -uc
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment