if [ -x /usr/bin/update-desktop-database ]; then
  /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
fi

if [ -x /usr/bin/update-mime-database ]; then
  /usr/bin/update-mime-database usr/share/mime >/dev/null 2>&1
fi

if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
  if [ -x /usr/bin/gtk-update-icon-cache ]; then
    /usr/bin/gtk-update-icon-cache -f usr/share/icons/hicolor >/dev/null 2>&1
  fi
fi
( cd usr/share/themes/Numix-SX-FullDark/gtk-3.0 ; rm -rf assets )
( cd usr/share/themes/Numix-SX-FullDark/gtk-3.0 ; ln -sf ../assets assets )
( cd usr/share/themes/Numix-SX-FullDark/unity ; rm -rf close_unfocused_prelight.svg )
( cd usr/share/themes/Numix-SX-FullDark/unity ; ln -sf ./close_focused_prelight.svg close_unfocused_prelight.svg )
( cd usr/share/themes/Numix-SX-FullDark/unity ; rm -rf unmaximize_focused_normal.svg )
( cd usr/share/themes/Numix-SX-FullDark/unity ; ln -sf unmaximize.svg unmaximize_focused_normal.svg )
( cd usr/share/themes/Numix-SX-FullDark/unity ; rm -rf maximize_dash_pressed.svg )
( cd usr/share/themes/Numix-SX-FullDark/unity ; ln -sf maximize_dash.svg maximize_dash_pressed.svg )
( cd usr/share/themes/Numix-SX-FullDark/unity ; rm -rf unmaximize_unfocused_prelight.svg )
( cd usr/share/themes/Numix-SX-FullDark/unity ; ln -sf unmaximize_focused_prelight.svg unmaximize_unfocused_prelight.svg )
( cd usr/share/themes/Numix-SX-FullDark/unity ; rm -rf minimize_dash_prelight.svg )
( cd usr/share/themes/Numix-SX-FullDark/unity ; ln -sf minimize_focused_prelight.svg minimize_dash_prelight.svg )
( cd usr/share/themes/Numix-SX-FullDark/unity ; rm -rf unmaximize_unfocused_pressed.svg )
( cd usr/share/themes/Numix-SX-FullDark/unity ; ln -sf unmaximize_focused_pressed.svg unmaximize_unfocused_pressed.svg )
( cd usr/share/themes/Numix-SX-FullDark/unity ; rm -rf sheet_style_close_focused_pressed.svg )
( cd usr/share/themes/Numix-SX-FullDark/unity ; ln -sf close_unfocused_pressed.svg sheet_style_close_focused_pressed.svg )
( cd usr/share/themes/Numix-SX-FullDark/unity ; rm -rf close_unfocused_pressed.svg )
( cd usr/share/themes/Numix-SX-FullDark/unity ; ln -sf ./close_focused_pressed.svg close_unfocused_pressed.svg )
( cd usr/share/themes/Numix-SX-FullDark/unity ; rm -rf maximize_dash_disabled.svg )
( cd usr/share/themes/Numix-SX-FullDark/unity ; ln -sf maximize_unfocused.svg maximize_dash_disabled.svg )
( cd usr/share/themes/Numix-SX-FullDark/unity ; rm -rf sheet_style_close_focused_prelight.svg )
( cd usr/share/themes/Numix-SX-FullDark/unity ; ln -sf close_focused_prelight.svg sheet_style_close_focused_prelight.svg )
( cd usr/share/themes/Numix-SX-FullDark/unity ; rm -rf close_dash_prelight.svg )
( cd usr/share/themes/Numix-SX-FullDark/unity ; ln -sf close_focused_prelight.svg close_dash_prelight.svg )
( cd usr/share/themes/Numix-SX-FullDark/unity ; rm -rf maximize_focused_normal.svg )
( cd usr/share/themes/Numix-SX-FullDark/unity ; ln -sf ./maximize.svg maximize_focused_normal.svg )
( cd usr/share/themes/Numix-SX-FullDark/unity ; rm -rf minimize_dash_pressed.svg )
( cd usr/share/themes/Numix-SX-FullDark/unity ; ln -sf minimize_focused_pressed.svg minimize_dash_pressed.svg )
( cd usr/share/themes/Numix-SX-FullDark/unity ; rm -rf minimize_focused_normal.svg )
( cd usr/share/themes/Numix-SX-FullDark/unity ; ln -sf ./minimize.svg minimize_focused_normal.svg )
( cd usr/share/themes/Numix-SX-FullDark/unity ; rm -rf close_dash_pressed.svg )
( cd usr/share/themes/Numix-SX-FullDark/unity ; ln -sf close_unfocused_pressed.svg close_dash_pressed.svg )
( cd usr/share/themes/Numix-SX-FullDark/unity ; rm -rf maximize_unfocused_prelight.svg )
( cd usr/share/themes/Numix-SX-FullDark/unity ; ln -sf ./maximize_focused_prelight.svg maximize_unfocused_prelight.svg )
( cd usr/share/themes/Numix-SX-FullDark/unity ; rm -rf close_focused_normal.svg )
( cd usr/share/themes/Numix-SX-FullDark/unity ; ln -sf ./close.svg close_focused_normal.svg )
( cd usr/share/themes/Numix-SX-FullDark/unity ; rm -rf minimize_unfocused_pressed.svg )
( cd usr/share/themes/Numix-SX-FullDark/unity ; ln -sf ./minimize_focused_pressed.svg minimize_unfocused_pressed.svg )
( cd usr/share/themes/Numix-SX-FullDark/unity ; rm -rf minimize_unfocused_prelight.svg )
( cd usr/share/themes/Numix-SX-FullDark/unity ; ln -sf ./minimize_focused_prelight.svg minimize_unfocused_prelight.svg )
( cd usr/share/themes/Numix-SX-FullDark/unity ; rm -rf maximize_dash_prelight.svg )
( cd usr/share/themes/Numix-SX-FullDark/unity ; ln -sf maximize_dash.svg maximize_dash_prelight.svg )
( cd usr/share/themes/Numix-SX-FullDark/unity ; rm -rf maximize_unfocused_pressed.svg )
( cd usr/share/themes/Numix-SX-FullDark/unity ; ln -sf ./maximize_focused_pressed.svg maximize_unfocused_pressed.svg )
( cd usr/share/themes/Numix-SX-FullDark/unity ; rm -rf close_dash_disabled.svg )
( cd usr/share/themes/Numix-SX-FullDark/unity ; ln -sf close_unfocused.svg close_dash_disabled.svg )
( cd usr/share/themes/Numix-SX-FullDark/unity ; rm -rf unmaximize_dash_pressed.svg )
( cd usr/share/themes/Numix-SX-FullDark/unity ; ln -sf unmaximize_dash.svg unmaximize_dash_pressed.svg )
( cd usr/share/themes/Numix-SX-FullDark/unity ; rm -rf unmaximize_dash_disabled.svg )
( cd usr/share/themes/Numix-SX-FullDark/unity ; ln -sf unmaximize_unfocused.svg unmaximize_dash_disabled.svg )
( cd usr/share/themes/Numix-SX-FullDark/unity ; rm -rf unmaximize_dash_prelight.svg )
( cd usr/share/themes/Numix-SX-FullDark/unity ; ln -sf unmaximize_dash.svg unmaximize_dash_prelight.svg )
( cd usr/share/themes/Numix-SX-FullDark/unity ; rm -rf minimize_dash_disabled.svg )
( cd usr/share/themes/Numix-SX-FullDark/unity ; ln -sf minimize_unfocused.svg minimize_dash_disabled.svg )
( cd usr/share/themes/Numix-SX-FullDark/unity ; rm -rf sheet_style_close_focused.svg )
( cd usr/share/themes/Numix-SX-FullDark/unity ; ln -sf close_unfocused.svg sheet_style_close_focused.svg )
( cd usr/share/themes/Numix-SX-FullDark/gtk-3.20 ; rm -rf thumbnail.png )
( cd usr/share/themes/Numix-SX-FullDark/gtk-3.20 ; ln -sf ../gtk-3.0/thumbnail.png thumbnail.png )
( cd usr/share/themes/Numix-SX-FullDark/gtk-3.20 ; rm -rf assets )
( cd usr/share/themes/Numix-SX-FullDark/gtk-3.20 ; ln -sf ../gtk-3.0/assets assets )
( cd usr/share/themes/Numix-SX-Dark/gtk-3.0 ; rm -rf assets )
( cd usr/share/themes/Numix-SX-Dark/gtk-3.0 ; ln -sf ../assets assets )
( cd usr/share/themes/Numix-SX-Dark/unity ; rm -rf close_unfocused_prelight.svg )
( cd usr/share/themes/Numix-SX-Dark/unity ; ln -sf ./close_focused_prelight.svg close_unfocused_prelight.svg )
( cd usr/share/themes/Numix-SX-Dark/unity ; rm -rf unmaximize_focused_normal.svg )
( cd usr/share/themes/Numix-SX-Dark/unity ; ln -sf unmaximize.svg unmaximize_focused_normal.svg )
( cd usr/share/themes/Numix-SX-Dark/unity ; rm -rf maximize_dash_pressed.svg )
( cd usr/share/themes/Numix-SX-Dark/unity ; ln -sf maximize_dash.svg maximize_dash_pressed.svg )
( cd usr/share/themes/Numix-SX-Dark/unity ; rm -rf unmaximize_unfocused_prelight.svg )
( cd usr/share/themes/Numix-SX-Dark/unity ; ln -sf unmaximize_focused_prelight.svg unmaximize_unfocused_prelight.svg )
( cd usr/share/themes/Numix-SX-Dark/unity ; rm -rf minimize_dash_prelight.svg )
( cd usr/share/themes/Numix-SX-Dark/unity ; ln -sf minimize_focused_prelight.svg minimize_dash_prelight.svg )
( cd usr/share/themes/Numix-SX-Dark/unity ; rm -rf unmaximize_unfocused_pressed.svg )
( cd usr/share/themes/Numix-SX-Dark/unity ; ln -sf unmaximize_focused_pressed.svg unmaximize_unfocused_pressed.svg )
( cd usr/share/themes/Numix-SX-Dark/unity ; rm -rf sheet_style_close_focused_pressed.svg )
( cd usr/share/themes/Numix-SX-Dark/unity ; ln -sf close_unfocused_pressed.svg sheet_style_close_focused_pressed.svg )
( cd usr/share/themes/Numix-SX-Dark/unity ; rm -rf close_unfocused_pressed.svg )
( cd usr/share/themes/Numix-SX-Dark/unity ; ln -sf ./close_focused_pressed.svg close_unfocused_pressed.svg )
( cd usr/share/themes/Numix-SX-Dark/unity ; rm -rf maximize_dash_disabled.svg )
( cd usr/share/themes/Numix-SX-Dark/unity ; ln -sf maximize_unfocused.svg maximize_dash_disabled.svg )
( cd usr/share/themes/Numix-SX-Dark/unity ; rm -rf sheet_style_close_focused_prelight.svg )
( cd usr/share/themes/Numix-SX-Dark/unity ; ln -sf close_focused_prelight.svg sheet_style_close_focused_prelight.svg )
( cd usr/share/themes/Numix-SX-Dark/unity ; rm -rf close_dash_prelight.svg )
( cd usr/share/themes/Numix-SX-Dark/unity ; ln -sf close_focused_prelight.svg close_dash_prelight.svg )
( cd usr/share/themes/Numix-SX-Dark/unity ; rm -rf maximize_focused_normal.svg )
( cd usr/share/themes/Numix-SX-Dark/unity ; ln -sf ./maximize.svg maximize_focused_normal.svg )
( cd usr/share/themes/Numix-SX-Dark/unity ; rm -rf minimize_dash_pressed.svg )
( cd usr/share/themes/Numix-SX-Dark/unity ; ln -sf minimize_focused_pressed.svg minimize_dash_pressed.svg )
( cd usr/share/themes/Numix-SX-Dark/unity ; rm -rf minimize_focused_normal.svg )
( cd usr/share/themes/Numix-SX-Dark/unity ; ln -sf ./minimize.svg minimize_focused_normal.svg )
( cd usr/share/themes/Numix-SX-Dark/unity ; rm -rf close_dash_pressed.svg )
( cd usr/share/themes/Numix-SX-Dark/unity ; ln -sf close_unfocused_pressed.svg close_dash_pressed.svg )
( cd usr/share/themes/Numix-SX-Dark/unity ; rm -rf maximize_unfocused_prelight.svg )
( cd usr/share/themes/Numix-SX-Dark/unity ; ln -sf ./maximize_focused_prelight.svg maximize_unfocused_prelight.svg )
( cd usr/share/themes/Numix-SX-Dark/unity ; rm -rf close_focused_normal.svg )
( cd usr/share/themes/Numix-SX-Dark/unity ; ln -sf ./close.svg close_focused_normal.svg )
( cd usr/share/themes/Numix-SX-Dark/unity ; rm -rf minimize_unfocused_pressed.svg )
( cd usr/share/themes/Numix-SX-Dark/unity ; ln -sf ./minimize_focused_pressed.svg minimize_unfocused_pressed.svg )
( cd usr/share/themes/Numix-SX-Dark/unity ; rm -rf minimize_unfocused_prelight.svg )
( cd usr/share/themes/Numix-SX-Dark/unity ; ln -sf ./minimize_focused_prelight.svg minimize_unfocused_prelight.svg )
( cd usr/share/themes/Numix-SX-Dark/unity ; rm -rf maximize_dash_prelight.svg )
( cd usr/share/themes/Numix-SX-Dark/unity ; ln -sf maximize_dash.svg maximize_dash_prelight.svg )
( cd usr/share/themes/Numix-SX-Dark/unity ; rm -rf maximize_unfocused_pressed.svg )
( cd usr/share/themes/Numix-SX-Dark/unity ; ln -sf ./maximize_focused_pressed.svg maximize_unfocused_pressed.svg )
( cd usr/share/themes/Numix-SX-Dark/unity ; rm -rf close_dash_disabled.svg )
( cd usr/share/themes/Numix-SX-Dark/unity ; ln -sf close_unfocused.svg close_dash_disabled.svg )
( cd usr/share/themes/Numix-SX-Dark/unity ; rm -rf unmaximize_dash_pressed.svg )
( cd usr/share/themes/Numix-SX-Dark/unity ; ln -sf unmaximize_dash.svg unmaximize_dash_pressed.svg )
( cd usr/share/themes/Numix-SX-Dark/unity ; rm -rf unmaximize_dash_disabled.svg )
( cd usr/share/themes/Numix-SX-Dark/unity ; ln -sf unmaximize_unfocused.svg unmaximize_dash_disabled.svg )
( cd usr/share/themes/Numix-SX-Dark/unity ; rm -rf unmaximize_dash_prelight.svg )
( cd usr/share/themes/Numix-SX-Dark/unity ; ln -sf unmaximize_dash.svg unmaximize_dash_prelight.svg )
( cd usr/share/themes/Numix-SX-Dark/unity ; rm -rf minimize_dash_disabled.svg )
( cd usr/share/themes/Numix-SX-Dark/unity ; ln -sf minimize_unfocused.svg minimize_dash_disabled.svg )
( cd usr/share/themes/Numix-SX-Dark/unity ; rm -rf sheet_style_close_focused.svg )
( cd usr/share/themes/Numix-SX-Dark/unity ; ln -sf close_unfocused.svg sheet_style_close_focused.svg )
( cd usr/share/themes/Numix-SX-Dark/gtk-3.20 ; rm -rf thumbnail.png )
( cd usr/share/themes/Numix-SX-Dark/gtk-3.20 ; ln -sf ../gtk-3.0/thumbnail.png thumbnail.png )
( cd usr/share/themes/Numix-SX-Dark/gtk-3.20 ; rm -rf assets )
( cd usr/share/themes/Numix-SX-Dark/gtk-3.20 ; ln -sf ../gtk-3.0/assets assets )
( cd usr/share/themes/Numix-SX-Light/gtk-3.0 ; rm -rf assets )
( cd usr/share/themes/Numix-SX-Light/gtk-3.0 ; ln -sf ../assets assets )
( cd usr/share/themes/Numix-SX-Light/unity ; rm -rf close_unfocused_prelight.svg )
( cd usr/share/themes/Numix-SX-Light/unity ; ln -sf ./close_focused_prelight.svg close_unfocused_prelight.svg )
( cd usr/share/themes/Numix-SX-Light/unity ; rm -rf unmaximize_focused_normal.svg )
( cd usr/share/themes/Numix-SX-Light/unity ; ln -sf unmaximize.svg unmaximize_focused_normal.svg )
( cd usr/share/themes/Numix-SX-Light/unity ; rm -rf maximize_dash_pressed.svg )
( cd usr/share/themes/Numix-SX-Light/unity ; ln -sf maximize_dash.svg maximize_dash_pressed.svg )
( cd usr/share/themes/Numix-SX-Light/unity ; rm -rf unmaximize_unfocused_prelight.svg )
( cd usr/share/themes/Numix-SX-Light/unity ; ln -sf unmaximize_focused_prelight.svg unmaximize_unfocused_prelight.svg )
( cd usr/share/themes/Numix-SX-Light/unity ; rm -rf minimize_dash_prelight.svg )
( cd usr/share/themes/Numix-SX-Light/unity ; ln -sf minimize_focused_prelight.svg minimize_dash_prelight.svg )
( cd usr/share/themes/Numix-SX-Light/unity ; rm -rf unmaximize_unfocused_pressed.svg )
( cd usr/share/themes/Numix-SX-Light/unity ; ln -sf unmaximize_focused_pressed.svg unmaximize_unfocused_pressed.svg )
( cd usr/share/themes/Numix-SX-Light/unity ; rm -rf sheet_style_close_focused_pressed.svg )
( cd usr/share/themes/Numix-SX-Light/unity ; ln -sf close_unfocused_pressed.svg sheet_style_close_focused_pressed.svg )
( cd usr/share/themes/Numix-SX-Light/unity ; rm -rf close_unfocused_pressed.svg )
( cd usr/share/themes/Numix-SX-Light/unity ; ln -sf ./close_focused_pressed.svg close_unfocused_pressed.svg )
( cd usr/share/themes/Numix-SX-Light/unity ; rm -rf maximize_dash_disabled.svg )
( cd usr/share/themes/Numix-SX-Light/unity ; ln -sf maximize_unfocused.svg maximize_dash_disabled.svg )
( cd usr/share/themes/Numix-SX-Light/unity ; rm -rf sheet_style_close_focused_prelight.svg )
( cd usr/share/themes/Numix-SX-Light/unity ; ln -sf close_focused_prelight.svg sheet_style_close_focused_prelight.svg )
( cd usr/share/themes/Numix-SX-Light/unity ; rm -rf close_dash_prelight.svg )
( cd usr/share/themes/Numix-SX-Light/unity ; ln -sf close_focused_prelight.svg close_dash_prelight.svg )
( cd usr/share/themes/Numix-SX-Light/unity ; rm -rf maximize_focused_normal.svg )
( cd usr/share/themes/Numix-SX-Light/unity ; ln -sf ./maximize.svg maximize_focused_normal.svg )
( cd usr/share/themes/Numix-SX-Light/unity ; rm -rf minimize_dash_pressed.svg )
( cd usr/share/themes/Numix-SX-Light/unity ; ln -sf minimize_focused_pressed.svg minimize_dash_pressed.svg )
( cd usr/share/themes/Numix-SX-Light/unity ; rm -rf minimize_focused_normal.svg )
( cd usr/share/themes/Numix-SX-Light/unity ; ln -sf ./minimize.svg minimize_focused_normal.svg )
( cd usr/share/themes/Numix-SX-Light/unity ; rm -rf close_dash_pressed.svg )
( cd usr/share/themes/Numix-SX-Light/unity ; ln -sf close_unfocused_pressed.svg close_dash_pressed.svg )
( cd usr/share/themes/Numix-SX-Light/unity ; rm -rf maximize_unfocused_prelight.svg )
( cd usr/share/themes/Numix-SX-Light/unity ; ln -sf ./maximize_focused_prelight.svg maximize_unfocused_prelight.svg )
( cd usr/share/themes/Numix-SX-Light/unity ; rm -rf close_focused_normal.svg )
( cd usr/share/themes/Numix-SX-Light/unity ; ln -sf ./close.svg close_focused_normal.svg )
( cd usr/share/themes/Numix-SX-Light/unity ; rm -rf minimize_unfocused_pressed.svg )
( cd usr/share/themes/Numix-SX-Light/unity ; ln -sf ./minimize_focused_pressed.svg minimize_unfocused_pressed.svg )
( cd usr/share/themes/Numix-SX-Light/unity ; rm -rf minimize_unfocused_prelight.svg )
( cd usr/share/themes/Numix-SX-Light/unity ; ln -sf ./minimize_focused_prelight.svg minimize_unfocused_prelight.svg )
( cd usr/share/themes/Numix-SX-Light/unity ; rm -rf maximize_dash_prelight.svg )
( cd usr/share/themes/Numix-SX-Light/unity ; ln -sf maximize_dash.svg maximize_dash_prelight.svg )
( cd usr/share/themes/Numix-SX-Light/unity ; rm -rf maximize_unfocused_pressed.svg )
( cd usr/share/themes/Numix-SX-Light/unity ; ln -sf ./maximize_focused_pressed.svg maximize_unfocused_pressed.svg )
( cd usr/share/themes/Numix-SX-Light/unity ; rm -rf close_dash_disabled.svg )
( cd usr/share/themes/Numix-SX-Light/unity ; ln -sf close_unfocused.svg close_dash_disabled.svg )
( cd usr/share/themes/Numix-SX-Light/unity ; rm -rf unmaximize_dash_pressed.svg )
( cd usr/share/themes/Numix-SX-Light/unity ; ln -sf unmaximize_dash.svg unmaximize_dash_pressed.svg )
( cd usr/share/themes/Numix-SX-Light/unity ; rm -rf unmaximize_dash_disabled.svg )
( cd usr/share/themes/Numix-SX-Light/unity ; ln -sf unmaximize_unfocused.svg unmaximize_dash_disabled.svg )
( cd usr/share/themes/Numix-SX-Light/unity ; rm -rf unmaximize_dash_prelight.svg )
( cd usr/share/themes/Numix-SX-Light/unity ; ln -sf unmaximize_dash.svg unmaximize_dash_prelight.svg )
( cd usr/share/themes/Numix-SX-Light/unity ; rm -rf minimize_dash_disabled.svg )
( cd usr/share/themes/Numix-SX-Light/unity ; ln -sf minimize_unfocused.svg minimize_dash_disabled.svg )
( cd usr/share/themes/Numix-SX-Light/unity ; rm -rf sheet_style_close_focused.svg )
( cd usr/share/themes/Numix-SX-Light/unity ; ln -sf close_unfocused.svg sheet_style_close_focused.svg )
( cd usr/share/themes/Numix-SX-Light/gtk-3.20 ; rm -rf thumbnail.png )
( cd usr/share/themes/Numix-SX-Light/gtk-3.20 ; ln -sf ../gtk-3.0/thumbnail.png thumbnail.png )
( cd usr/share/themes/Numix-SX-Light/gtk-3.20 ; rm -rf assets )
( cd usr/share/themes/Numix-SX-Light/gtk-3.20 ; ln -sf ../gtk-3.0/assets assets )
