Why not you write a shell script and execute it before every install/upgrade with the apporpriate value. Else write one with an interactive mode that would allow the user to choose between.

sam