···177177 # programs to be wrapped.
178178 WRAPPER_PATH=${config.system.path}/bin:${config.system.path}/sbin
179179180180+ # Remove the old /var/setuid-wrappers path from the system...
181181+ #
182182+ # TODO: this is only necessary for ugprades 16.09 => 17.x;
183183+ # this conditional removal block needs to be removed after
184184+ # the release.
185185+ if [ -d /var/setuid-wrappers ]; then
186186+ rm -rf /var/setuid-wrappers
187187+ fi
188188+189189+ # Remove the old /run/setuid-wrappers-dir path from the
190190+ # system as well...
191191+ #
192192+ # TODO: this is only necessary for ugprades 16.09 => 17.x;
193193+ # this conditional removal block needs to be removed after
194194+ # the release.
195195+ if [ -d /run/setuid-wrapper-dirs ]; then
196196+ rm -rf /run/setuid-wrapper-dirs
197197+ fi
198198+180199 # We want to place the tmpdirs for the wrappers to the parent dir.
181200 wrapperDir=$(mktemp --directory --tmpdir="${parentWrapperDir}" wrappers.XXXXXXXXXX)
182201 chmod a+rx $wrapperDir