#!/bin/bash

. ${TOOLKIT}-functions.sh

# /usr/bin/shutter patch
#
version=$(dpkg -l shutter >/dev/null 2>&1) && {
	case $version in
	  *" "0.92.*)
		# patches
		#
		fname="shutter"
		file="/usr/bin/shutter"
		patch="$fname/$fname.patches"

		[ -f "$file.orig" ] || {
			echo "  '$file' patched, original saved as '$file.orig'"
			mv "$file" "$file.orig"
		}
		cp -a "$file.orig" "$file"
		patch "$file" "$patch"
		;;
	esac
}

#$SOMETHING_CHANGED && {
	# ....
#}

exit 0
