mirror of
https://github.com/Mayccoll/Gogh.git
synced 2023-08-10 21:12:46 +03:00
Merge pull request #208 from grooveshaker/xfce4-terminal
Copy xfce4 terminalrc if it's available
This commit is contained in:
commit
33881dd4d3
@ -542,8 +542,12 @@ apply_xfce4-terminal() {
|
||||
CONFFILE="${HOME}/.config/xfce4/terminal/terminalrc"
|
||||
|
||||
if [[ ! (-w "${CONFFILE}") ]]; then
|
||||
echo "ERROR: config file not present or not writable!"
|
||||
exit 1
|
||||
if [[ -r "${XDG_CONFIG_DIRS%%:*}/Terminal/terminalrc" ]]; then
|
||||
cp "${XDG_CONFIG_DIRS%%:*}/Terminal/terminalrc" ${CONFFILE}
|
||||
else
|
||||
echo "ERROR: config file not present or not writable!"
|
||||
exit 1
|
||||
fi
|
||||
fi
|
||||
|
||||
[[ -d "${SCHEMEDIR}" ]] || mkdir -p "${SCHEMEDIR}"
|
||||
|
Loading…
Reference in New Issue
Block a user