summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJay Freeman (saurik) <saurik@saurik.com>2015-07-04 11:14:05 -0700
committerJay Freeman (saurik) <saurik@saurik.com>2015-07-04 11:14:05 -0700
commit14de2b3aa9bdbce41d2f2c7031b2f024f62d8814 (patch)
treee1b2c8be6678837afbbd9060748296cc27d90567
parentd3b5a9835efe095ee7c511a34fa5fda88a50083a (diff)
I seriously copy/pasted %@ into a shell script :/.
-rwxr-xr-xLibrary/fixhalf.sh10
1 files changed, 5 insertions, 5 deletions
diff --git a/Library/fixhalf.sh b/Library/fixhalf.sh
index 73fcfa9..325493c 100755
--- a/Library/fixhalf.sh
+++ b/Library/fixhalf.sh
@@ -1,6 +1,6 @@
#!/bin/bash
-rm -f /var/lib/dpkg/info/%@.prerm
-rm -f /var/lib/dpkg/info/%@.postrm
-rm -f /var/lib/dpkg/info/%@.preinst
-rm -f /var/lib/dpkg/info/%@.postinst
-rm -f /var/lib/dpkg/info/%@.extrainst_
+rm -f /var/lib/dpkg/info/"$1".prerm
+rm -f /var/lib/dpkg/info/"$1".postrm
+rm -f /var/lib/dpkg/info/"$1".preinst
+rm -f /var/lib/dpkg/info/"$1".postinst
+rm -f /var/lib/dpkg/info/"$1".extrainst_