/usr/share/gforge/plugins/scmsvn/bin/install.sh is in fusionforge-plugin-scmsvn 5.3.2+20141104-3+deb8u3.
This file is owned by root:root, with mode 0o755.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 | #! /bin/sh
#
# Configure Subversion for Sourceforge
# Roland Mas, Gforge
set -e
if [ $(id -u) != 0 ] ; then
echo "You must be root to run this, please enter passwd"
exec su -c "$0 $1"
fi
gforge_chroot=$(forge_get_config chroot)
case "$1" in
configure)
echo "Modifying inetd for Subversion server"
# First, dedupe the commented lines
update-inetd --remove svnserve || true
update-inetd --remove svn || true
update-inetd --add "svn stream tcp nowait.400 scm-gforge /usr/bin/svnserve svnserve -i -r $gforge_chroot"
;;
purge)
update-inetd --remove svnserve || true
update-inetd --remove svn || true
;;
*)
echo "Usage: $0 {configure|purge}"
exit 1
esac
|