Skip to content

Commit ebb3492

Browse files
committed
Update resources
1 parent cd60bab commit ebb3492

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

README.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,13 @@ Deleting emails by a specified regular expression.
55
## Install
66

77
```bash
8-
export SET_DIR='/root/apps/mail'; export GH_NAME='bash-mail-rm'; export GH_URL="https://github.com/pkgstore/${GH_NAME}/archive/refs/heads/main.tar.gz"; curl -Lo "${GH_NAME}-main.tar.gz" "${GH_URL}" && tar -xzf "${GH_NAME}-main.tar.gz" && { cd "${GH_NAME}-main" || exit; } && { for i in app_*; do install -m '0644' -Dt "${SET_DIR}" "${i}"; done; } && { for i in cron_*; do install -m '0644' -Dt '/etc/cron.d' "${i}"; done; } && chmod +x "${SET_DIR}"/*.sh
8+
curl -sL 'https://raw.githubusercontent.com/pkgstore/bash-install/refs/heads/main/install.sh' | bash -s -- '/root/apps/mail' 'bash-mail-rm' 'main'
9+
```
10+
11+
## Update
12+
13+
```bash
14+
curl -sL 'https://raw.githubusercontent.com/pkgstore/bash-install/refs/heads/main/install.sh' | bash -s -- '/root/apps/mail' 'bash-mail-rm' 'main' 'update'
915
```
1016

1117
## Resources

0 commit comments

Comments
 (0)