]> git.armaanb.net Git - bin.git/blobdiff - patch-zoom
xsel: new script
[bin.git] / patch-zoom
index 7a7058a538145d598523651fd75b1e390a221c48..790da4ae46d785e5df9c48a4d31664175004da25 100755 (executable)
@@ -1,11 +1,12 @@
-#!/usr/bin/env bash
+#!/usr/bin/env sh
 # From https://hashman.ca/zoom/. Patches a zoom .deb to remove the ibus dependency
+
 scratch=/tmp/patch-zoom
 rm -rf $scratch
 mkdir $scratch
 
 # Extract package contents
-cp $1 $scratch/zoom_amd64.deb
+cp ${1} $scratch/zoom_amd64.deb
 dpkg -x $scratch/zoom_amd64.deb $scratch/extracted
 
 # Extract package control information