diff --git a/package/debian/changelog b/package/debian/changelog index a36fad2f552f6772e51557621e667ac0d0f7a16e..4792282a6ccc61bdf35f6043e17a0098a274be3f 100644 --- a/package/debian/changelog +++ b/package/debian/changelog @@ -1,3 +1,9 @@ +le-parental-control (0.0.10ubuntu1) unstable; urgency=medium + + * Family shild is disable by default when installing in private mode + + -- Stephanie Briere Americo <lesuporte@c3sl.ufpr.br> Wed, 25 Jul 2018 11:35:53 -0300 + le-parental-control (0.0.10) unstable; urgency=medium * Add more testing stages on CI (Closes: #463) diff --git a/package/debian/postinst b/package/debian/postinst index 757d47588af523f80cdfc338eb3a56fbc2794355..e23894944d8f3c276c1e0bef0ff3e004623c0542 100755 --- a/package/debian/postinst +++ b/package/debian/postinst @@ -19,14 +19,13 @@ # along with this program; if not, write to the Free Software # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, # USA. - set -e case "$1" in configure) ############## Family Shield ############## - #if install - if [ -z "$2" ]; then + #if install in school mode + if grep -q "Escola" /etc/default/version && [ -z "$2" ]; then family-shield -e fi