mirror of
https://gitlab.com/Nanolx/patchimage.git
synced 2024-12-28 18:11:50 +01:00
rename script.d to scripts
This commit is contained in:
parent
4d8c988d20
commit
d9032f5107
2
Makefile
2
Makefile
@ -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:
|
||||
|
2
debian/patchimage.install
vendored
2
debian/patchimage.install
vendored
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user