rename script.d to scripts

This commit is contained in:
Christopher Roy Bratusek 2016-08-06 10:36:54 +02:00
parent 4d8c988d20
commit d9032f5107
49 changed files with 5 additions and 5 deletions

View File

@ -4,7 +4,7 @@ all:
install:
mkdir -p $(DESTDIR)/usr/bin/
mkdir -p $(DESTDIR)/usr/share/patchimage/
cp -rv data database override patches script.d tools $(DESTDIR)/usr/share/patchimage/
cp -rv data database override patches scripts tools $(DESTDIR)/usr/share/patchimage/
install -m755 patchimage.sh $(DESTDIR)/usr/bin/patchimage
uninstall:

View File

@ -2,7 +2,7 @@ usr/bin/patchimage
usr/share/patchimage/data
usr/share/patchimage/database
usr/share/patchimage/patches
usr/share/patchimage/script.d
usr/share/patchimage/scripts
usr/share/patchimage/tools/gdown.pl
usr/share/patchimage/tools/ignore_3dstool.txt
usr/share/patchimage/tools/ucat

View File

@ -11,15 +11,15 @@ basedir=$(dirname "${basedir}")
export PATCHIMAGE_DIR=${basedir}
if [[ -d ${basedir}/script.d ]]; then
export PATCHIMAGE_SCRIPT_DIR=${basedir}/script.d
if [[ -d ${basedir}/scripts ]]; then
export PATCHIMAGE_SCRIPT_DIR=${basedir}/scripts
export PATCHIMAGE_PATCH_DIR=${basedir}/patches
export PATCHIMAGE_DATA_DIR=${basedir}/data
export PATCHIMAGE_TOOLS_DIR=${basedir}/tools
export PATCHIMAGE_OVERRIDE_DIR=${basedir}/override
export PATCHIMAGE_DATABASE_DIR=${basedir}/database
else
export PATCHIMAGE_SCRIPT_DIR=/usr/share/patchimage/script.d
export PATCHIMAGE_SCRIPT_DIR=/usr/share/patchimage/scripts
export PATCHIMAGE_PATCH_DIR=/usr/share/patchimage/patches
export PATCHIMAGE_DATA_DIR=/usr/share/patchimage/data
export PATCHIMAGE_TOOLS_DIR=/usr/share/patchimage/tools