Fix snapshot variable
This commit is contained in:
parent
d6b100c6fb
commit
cdc8005303
@ -157,6 +157,8 @@ readme=:install.txt
|
|||||||
readme=:INSTALL
|
readme=:INSTALL
|
||||||
readme=:install
|
readme=:install
|
||||||
|
|
||||||
|
snapshots=$CGIT_SNAPSHOT
|
||||||
|
|
||||||
# Direct cgit to repository location managed by gitolite
|
# Direct cgit to repository location managed by gitolite
|
||||||
remove-suffix=0
|
remove-suffix=0
|
||||||
project-list=/var/lib/git/projects.list
|
project-list=/var/lib/git/projects.list
|
||||||
@ -180,11 +182,6 @@ EOF
|
|||||||
echo "root-desc=$CGIT_DESC" >> /etc/cgitrc
|
echo "root-desc=$CGIT_DESC" >> /etc/cgitrc
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ ! -z "$CGIT_SNAPSHOT" ]; then
|
|
||||||
echo "# Allow download of tar.gz, tar.bz2, and tar.xz formats" >> /etc/cgitrc
|
|
||||||
echo "snapshots=$CGIT_SNAPSHOT" >> /etc/cgitrc
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Using highlight syntax
|
# Using highlight syntax
|
||||||
#sed -i.bak \
|
#sed -i.bak \
|
||||||
# -e "s#exec highlight --force -f -I -X -S #\#&#g" \
|
# -e "s#exec highlight --force -f -I -X -S #\#&#g" \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user