mirror of
https://github.com/zkitter/configs.git
synced 2026-01-09 23:18:02 -05:00
Fix postinstall scripts
This commit is contained in:
@@ -1,13 +1,7 @@
|
||||
#!/bin/bash
|
||||
|
||||
#echo "HERE"
|
||||
if [[ ! -f "$INIT_CWD/.prettierrc.yaml" ]];then
|
||||
echo "'@r1oga/prettier-config'" > "$INIT_CWD/.prettierrc.yaml"
|
||||
else
|
||||
# shellcheck disable=SC2162
|
||||
read -p "overwrite .prettierrc.yaml?(Yn) " overwrite
|
||||
if [[ -z "$overwrite" || "$overwrite" -eq "Y" || "$overwrite" -eq "y" ]];then
|
||||
echo "'@r1oga/prettier-config'" > "$INIT_CWD/.prettierrc.yaml"
|
||||
fi
|
||||
fi
|
||||
|
||||
cp -i .prettierignore "$INIT_CWD/.prettierignore"
|
||||
cp -n .prettierignore "$INIT_CWD/.prettierignore"
|
||||
Reference in New Issue
Block a user