jobcomm/modprobed-db
joborun linux 7d1af5bc64 add cudatext-gtk2 geany-gtk2 libselinux-static python2 vscodium
upg ly-git masterpdfeditor-free novelwriter nvm obtheme
2022-12-25 13:26:50 +02:00
..
PKGBUILD add cudatext-gtk2 geany-gtk2 libselinux-static python2 vscodium 2022-12-25 13:26:50 +02:00
PKGBUILD-aur add modprobed-db 2022-07-17 01:06:19 +03:00
PKGBUILD-git add modprobed-db 2022-07-17 01:06:19 +03:00
clean add modprobed-db 2022-07-17 01:06:19 +03:00
deps add modprobed-db 2022-07-17 01:06:19 +03:00
readme.install add modprobed-db 2022-07-17 01:06:19 +03:00
readme.install-git add modprobed-db 2022-07-17 01:06:19 +03:00
time add modprobed-db 2022-07-17 01:06:19 +03:00

readme.install-git

# $1: The new package version
# $2: The old package version

post_upgrade() {
	if [ $(vercmp $2 1.8) -lt 0 ]; then
		echo '----------------------------------------------------------------------'
		echo ' WARNING:'
		echo
		echo 'You MUST modify ANY and ALL calls to /usr/bin/modprobed-db to'
		echo 'include the "store" switch.'
		echo 'For example, in the root user crontab, /etc/rc.local.shutdown, etc.'
		echo
		echo 'In other words:         --> /usr/bin/modprobed-db store <--'
		echo 
		echo 'The default action in version 2.0 is to display the help file!'
		echo 'Inaction on your part here will cause NO action to be taken by'
		echo 'the software!'
		echo
		echo 'You have been warned!'
		echo '----------------------------------------------------------------------'
	fi

	if [ $(vercmp $2 2.23) -lt 0 ]; then
		echo '--> A minor name change has occurred which requires your attention.'
		echo '--> Underscores have been replaced with hyphens:'
		echo '--> modprobed_db --> modprobed-db'
		echo '-->'
		echo '--> Make sure you update your crontab accordingly.'
	fi

	if [ $(vercmp $2 2.33) -lt 0 ]; then
		echo '--> The system service and timer have been deprecated in favor of user flavors.'
		echo '--> See the manpage of modprobed for details.'
	fi
}