1 diff -u -r ../checkinstall-1.6.2/checkinstall ./checkinstall
2 --- ../checkinstall-1.6.2/checkinstall 2009-12-26 14:17:24.000000000 -0500
3 +++ ./checkinstall 2016-10-28 16:32:12.759574819 -0400
8 -CHECKINSTALLRC=${CHECKINSTALLRC:-${INSTALLDIR}/checkinstallrc}
9 +CHECKINSTALLRC=${CHECKINSTALLRC:-${INSTALLDIR}/lib/checkinstall/checkinstallrc}
10 if ! [ -f $CHECKINSTALLRC ]; then
11 echog "The checkinstallrc file was not found at:\n$CHECKINSTALLRC"
14 ! [ "$INSTALL" ] && INSTALL=0
16 # The place where we will be storing the temp files
17 -! [ "$BASE_TMP_DIR" ] && BASE_TMP_DIR=/var/tmp
18 +! [ "$BASE_TMP_DIR" ] && BASE_TMP_DIR=/data/data/com.termux/files/usr/tmp
21 ! [ "$RPM_FLAGS" ] && RPM_FLAGS=" --force --nodeps --replacepkgs "
23 # Fix the PowerPC & Amd64 architecture description if we're on Debian
25 if [ "$CK_DEBIAN" = "1" ] ; then
26 - ARCHITECTURE=`dpkg-architecture -qDEB_HOST_ARCH`
27 + ARCHITECTURE=`dpkg --print-architecture`
32 TMP_SCRIPT=${TMP_DIR}/installscript.sh
34 cat << EOF > $TMP_SCRIPT
36 +#!@TERMUX_PREFIX@/bin/sh
38 cd "$DIRECTORIO_FUENTE"
41 # installwatch excludes itself some directories, but we put them all here,
44 -IEXCLUDE="${DIRECTORIO_FUENTE},/dev,/proc,/tmp,/var/tmp"
45 +IEXCLUDE="${DIRECTORIO_FUENTE},/dev,/proc,/tmp,/var/tmp,/data/data/com.termux/files/usr/tmp"
48 # Run the install command, showing the results interactively if we were asked