kiss-mfavila-small/ports/mid-rc/build

37 lines
794 B
Bash
Executable File

#!/bin/sh -e
dest="${1}/${HOME}/.config"
cd misc
for file in *
do
if [ $(echo $x | grep -e "\\\\*.sh") ]
then
install -Dm755 "${file}" "${dest}/fxde/fxde-core/scripts/${file}"
elif [ "${file}" = "xsession" ]
then
install -Dm755 "${file}" "${dest}/../.xsession"
else
install -Dm755 "${file}" "${dest}/fxde/fxde-core/config/${file}"
fi
done
cd ../terminal
for file in *
do
if [ $(echo ${file}|grep -e "\\\\*yash\\\\*") ]
then
install -Dm644 "${file}" "${dest}/yash/conf/${file}"
else
install -Dm644 "${file}" "${dest}/${file}"
fi
done
cd ../xresources
for file in *
do
install -Dm644 "${file}" "${dest}/xresources/${file}"
done