mv -v ./src/animation.c ./src/animation.c.base cp -v ./src/animation.c.base ./src/animation.c perl -i -p -e 's/ANIM_MAGIC_LAMP1_MAX_WAVES_DEFAULT\s+\d+/ANIM_MAGIC_LAMP1_MAX_WAVES_DEFAULT 0/' ./src/animation.c perl -i -p -e 's/ANIM_MAGIC_LAMP1_MAX_WAVES_MIN\s+\d+/ANIM_MAGIC_LAMP1_MAX_WAVES_MIN 0/' ./src/animation.c perl -i -p -e 's/ANIM_MAGIC_LAMP2_MAX_WAVES_DEFAULT\s+\d+/ANIM_MAGIC_LAMP2_MAX_WAVES_DEFAULT 0/' ./src/animation.c perl -i -p -e 's/ANIM_MAGIC_LAMP2_MAX_WAVES_MIN\s+\d+/ANIM_MAGIC_LAMP2_MAX_WAVES_MIN 0/' ./src/animation.c if ! (fakeroot ./debian/rules binary); then mv -v ./src/animation.c.base ./src/animation.c exit 2 fi mv -v ./src/animation.c.base ./src/animation.c if [ "$action" == "build" ]; then echo '' > ../beryl-plugins-vidcap/.rebuild echo '' > ../beryl-plugins-extra/.rebuild fi