更新 st 配置

This commit is contained in:
2022-03-02 00:16:35 +08:00
parent 8a94eb39ab
commit 9781319529
7 changed files with 103 additions and 81 deletions

14
script/sync-st-patch.sh Normal file
View File

@@ -0,0 +1,14 @@
#!/bin/sh
if [ "${UID}" != "0" ]; then
SCRIPT_NAME=$(basename $0)
echo "${SCRIPT_NAME}: must run this as root"
exit 1
fi
SCRIPT_DIR=$(dirname $0)
SOURCE_DIR="${SCRIPT_DIR}/../gentoo_portage/patches/x11-terms/st/"
DEST_DIR="/etc/portage/patches/x11-terms/st"
rsync -r --delete --mkpath $SOURCE_DIR $DEST_DIR