Skip to content
Commits on Source (5)
debian-edu-config (2.10.42) UNRELEASED; urgency=medium
* update-chromium-homepage: Don't complain about non-existing config file
when attempting its removal.
* update-chromium-homepage: Make sure the target dir of $etcfile exists.
* update-chromium-homepage: Don't statically set http://www as homepage, user
detected homepage instead. (Closes: #911790)
* update-firefox-homepage: Don't complain about non-existing config file
when attempting its removal.
* update-firefox-homepage: Make sure the target dir of $etcfile exists.
-- Mike Gabriel <sunweaver@debian.org> Wed, 24 Oct 2018 21:39:30 +0200
debian-edu-config (2.10.41) unstable; urgency=medium
[ Mike Gabriel ]
......
......@@ -6,6 +6,7 @@
set -e
etcfile=/etc/chromium/policies/managed/debian-edu-homepage-ldap.json
mkdir -p $(dirname $etcfile)
if [ ldap:homepage = "$1" ] ; then
# Allow lookup script to be replaced using /etc/debian-edu/config
......@@ -26,7 +27,7 @@ if [ -z "$url" ] || [ "about:blank" = "$url" ]; then
else
cat > $etcfile.new <<EOF
{
"HomepageLocation" : "https://www",
"HomepageLocation" : "$url",
"HomepageIsNewTabPage" : false
}
EOF
......
......@@ -6,6 +6,7 @@
set -e
etcfile=/etc/firefox-esr/debian-edu-homepage-ldap.js
mkdir -p $(dirname $etcfile)
if [ ldap:homepage = "$1" ] ; then
# Allow lookup script to be replaced using /etc/debian-edu/config
......@@ -22,7 +23,7 @@ else
fi
if [ -z "$url" ] || [ "about:blank" = "$url" ]; then
rm $etcfile
rm -f $etcfile
else
cat > $etcfile.new <<EOF
# Generated from LDAP
......