#!/bin/bash

# kill running MEGAsync instance (when removing)
[ "$1" == "remove" ] && killall megasync 2> /dev/null || true

/bin/touch --no-create /usr/share/icons/hicolor &>/dev/null || true
/bin/touch --no-create /usr/share/icons/ubuntu-mono-dark &>/dev/null || true
/usr/bin/gtk-update-icon-cache /usr/share/icons/* &>/dev/null || true
