From 48b072202388e48236e9dbac0b62944ee951cda2 Mon Sep 17 00:00:00 2001 From: Aminda Suomalainen Date: Thu, 23 Mar 2023 15:45:43 +0200 Subject: [PATCH] gayming/playstation2/CHT: add install-cht.bash Resolves: #55 --- gayming/playstation2/CHT/install-cht.bash | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100755 gayming/playstation2/CHT/install-cht.bash diff --git a/gayming/playstation2/CHT/install-cht.bash b/gayming/playstation2/CHT/install-cht.bash new file mode 100755 index 0000000..79d6e3e --- /dev/null +++ b/gayming/playstation2/CHT/install-cht.bash @@ -0,0 +1,13 @@ +#!/usr/bin/env bash +set -x +CHTDIR=~/PS2/CHT + +mkdir -p $CHTDIR + +for chtfile in *.cht; do + cat $chtfile > $CHTDIR/$chtfile +done + +chmod -R 777 $CHTDIR + +set +x