summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarc Coquand <marc@mccd.space>2024-05-07 12:51:45 -0500
committerMarc Coquand <marc@mccd.space>2024-05-07 12:51:45 -0500
commitb03edd1048a5ef46b4f7d8c487c2dbc1e8dc02ab (patch)
tree317f49560ef5ceb66a75a841e383023467392c77
parent93d30d087841b09ef310acb66116e537090a7dbb (diff)
downloadrcm-b03edd1048a5ef46b4f7d8c487c2dbc1e8dc02ab.tar.gz
rcm-b03edd1048a5ef46b4f7d8c487c2dbc1e8dc02ab.tar.bz2
rcm-b03edd1048a5ef46b4f7d8c487c2dbc1e8dc02ab.zip
Add helpers for removing and installing
Diffstat (limited to '')
-rwxr-xr-xlocal/bin/xpadd3
-rwxr-xr-xlocal/bin/xprm3
2 files changed, 6 insertions, 0 deletions
diff --git a/local/bin/xpadd b/local/bin/xpadd
new file mode 100755
index 0000000..c1e163f
--- /dev/null
+++ b/local/bin/xpadd
@@ -0,0 +1,3 @@
+#!/bin/bash
+set -e
+echo $1 >> ~/repository.list && xsync
diff --git a/local/bin/xprm b/local/bin/xprm
new file mode 100755
index 0000000..283e392
--- /dev/null
+++ b/local/bin/xprm
@@ -0,0 +1,3 @@
+#!/bin/bash
+set -e
+sed -i "/$1/d" ~/repository.list && xsync \ No newline at end of file