Hook logic exists twice. Let's refactor it into a function so that it can be reused for more hooks. Include some test cases. Test cases don't like doing 'sudo mv', so let's not use it if not necessary. Change-Id: I84d2fd66265c8e2e77faf16ce03e92790f2f51b8
17 KiB
Executable File
17 KiB
Executable File