postgresql: Enable package
[termux-packages] / disabled-packages / postgresql / tempdir-fix-old.patch.old
diff --git a/disabled-packages/postgresql/tempdir-fix-old.patch.old b/disabled-packages/postgresql/tempdir-fix-old.patch.old
deleted file mode 100644 (file)
index b9a981d..0000000
+++ /dev/null
@@ -1,21 +0,0 @@
---- ./src/bin/pg_upgrade/test.sh       2016-10-25 01:38:51.000000000 +0530
-+++ ../test.sh 2017-01-23 10:08:52.568213209 +0530
-@@ -44,15 +44,15 @@
-               if [ "x$PGHOST" = x ]; then
-                       {
-                               dir=`(umask 077 &&
--                                        mktemp -d /tmp/pg_upgrade_check-XXXXXX) 2>/dev/null` &&
-+                                        mktemp -d @TERMUX_PREFIX@/tmp/pg_upgrade_check-XXXXXX) 2>/dev/null` &&
-                               [ -d "$dir" ]
-                       } ||
-                       {
--                              dir=/tmp/pg_upgrade_check-$$-$RANDOM
-+                              dir=@TERMUX_PREFIX@/tmp/pg_upgrade_check-$$-$RANDOM
-                               (umask 077 && mkdir "$dir")
-                       } ||
-                       {
--                              echo "could not create socket temporary directory in \"/tmp\""
-+                              echo "could not create socket temporary directory in \"@TERMUX_PREFIX@/tmp\""
-                               exit 1
-                       }