summaryrefslogtreecommitdiff
path: root/local
diff options
context:
space:
mode:
Diffstat (limited to 'local')
-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