Files
pot-php/install.sh
2026-01-07 12:54:11 +05:00

18 lines
319 B
Bash
Executable File

#!/bin/bash
if [ -d author/project ]; then
mv author/project author/${REPO_NAME}
fi
if [ -d author ]; then
mv author ${REPO_OWNER}
fi
for i in ${REPO_OWNER}/${REPO_NAME}/system/settings/*.sample; do
echo $$i;
if [ ! -f "$${i/.sample/}" ]; then
cp "$$i" "$${i/.sample/}";
echo $${i/.sample/};
fi
done