diff options
author | Marc Coquand <marc@mccd.space> | 2024-05-07 12:51:45 -0500 |
---|---|---|
committer | Marc Coquand <marc@mccd.space> | 2024-05-07 12:51:45 -0500 |
commit | b03edd1048a5ef46b4f7d8c487c2dbc1e8dc02ab (patch) | |
tree | 317f49560ef5ceb66a75a841e383023467392c77 /local/bin | |
parent | 93d30d087841b09ef310acb66116e537090a7dbb (diff) | |
download | rcm-b03edd1048a5ef46b4f7d8c487c2dbc1e8dc02ab.tar.gz rcm-b03edd1048a5ef46b4f7d8c487c2dbc1e8dc02ab.tar.bz2 rcm-b03edd1048a5ef46b4f7d8c487c2dbc1e8dc02ab.zip |
Add helpers for removing and installing
Diffstat (limited to '')
-rwxr-xr-x | local/bin/xpadd | 3 | ||||
-rwxr-xr-x | local/bin/xprm | 3 |
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 |