#!/bin/sh
set -e
if which update-mime > /dev/null 2>&1; then
  update-mime
fi

if [ -f /etc/environment ]; then
  sed -i '/^ZIPINFO=/d' /etc/environment
  sed -i '/^UNZIP=/d' /etc/environment
fi
