diff options
author | Sainnhepark | 2020-12-04 16:54:03 +0800 |
---|---|---|
committer | Sainnhepark | 2020-12-04 16:54:03 +0800 |
commit | 5c9faaecd172f3e87922bceb42e3e0f97830b96d (patch) | |
tree | 3ec769f1bacf69b8606d3f91739ae18e6e9f5bb5 /patch.sh | |
parent | 495f274b9fd60a6e31de726cbaf758b61beb23b6 (diff) | |
download | aur-5c9faaecd172f3e87922bceb42e3e0f97830b96d.tar.gz |
use a shell script to run the hook
Diffstat (limited to 'patch.sh')
-rwxr-xr-x | patch.sh | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/patch.sh b/patch.sh new file mode 100755 index 000000000000..87b3a3b004a8 --- /dev/null +++ b/patch.sh @@ -0,0 +1,7 @@ +#!/usr/bin/env sh + +if [ -f /usr/lib/code/product.json ]; then + patch /usr/lib/code/product.json </usr/share/code-marketplace/code-product.json.patch +elif [ -f /usr/share/vscodium-bin/resources/app/product.json ]; then + patch /usr/share/vscodium-bin/resources/app/product.json </usr/share/code-marketplace/vscodium-bin-product.json.patch +fi |