summaryrefslogtreecommitdiff
path: root/source/ap
diff options
context:
space:
mode:
authorPatrick J Volkerding <volkerdi@slackware.com>2018-09-10 21:00:00 +0000
committerEric Hameleers <alien@slackware.com>2018-09-11 03:00:39 +0200
commit4ffeac73188b0486a8c6a6dac099a2675276e599 (patch)
tree1c939f5084c5571efff4e2163da985e54256b633 /source/ap
parent8dc8bcc640cefafbb4966f0d73d9836082a246d1 (diff)
downloadcurrent-4ffeac73188b0486a8c6a6dac099a2675276e599.tar.gz
Mon Sep 10 21:00:00 UTC 201820180910210000
a/kernel-generic-4.14.69-x86_64-1.txz: Upgraded. a/kernel-huge-4.14.69-x86_64-1.txz: Upgraded. a/kernel-modules-4.14.69-x86_64-1.txz: Upgraded. a/xfsprogs-4.18.0-x86_64-1.txz: Upgraded. ap/nano-3.0-x86_64-1.txz: Upgraded. d/cmake-3.12.2-x86_64-1.txz: Upgraded. d/kernel-headers-4.14.69-x86-1.txz: Upgraded. k/kernel-source-4.14.69-noarch-1.txz: Upgraded. Config changes since 4.14.68: CRYPTO_LZO m -> y FRONTSWAP n -> y ZBUD n -> m ZPOOL m -> y +ZSWAP y Thanks to Darth Vader. l/glib2-2.56.2-x86_64-2.txz: Rebuilt. Make links in the documentation directory to all of the API documentation found under /usr/share/gtk-doc/html. Thanks to Didier Spaier. l/libarchive-3.3.3-x86_64-1.txz: Upgraded. n/links-2.17-x86_64-1.txz: Upgraded. xfce/tumbler-0.2.2-x86_64-1.txz: Upgraded. isolinux/initrd.img: Rebuilt. kernels/*: Upgraded. usb-and-pxe-installers/usbboot.img: Rebuilt.
Diffstat (limited to 'source/ap')
-rwxr-xr-xsource/ap/nano/nano.SlackBuild23
1 files changed, 22 insertions, 1 deletions
diff --git a/source/ap/nano/nano.SlackBuild b/source/ap/nano/nano.SlackBuild
index 28ad4d07..e0816b31 100755
--- a/source/ap/nano/nano.SlackBuild
+++ b/source/ap/nano/nano.SlackBuild
@@ -73,6 +73,27 @@ PKG=$TMP/package-${PKGNAM}
rm -rf $PKG
mkdir -p $TMP $PKG
+# Don't use icecream:
+for path_element in $(echo $PATH | tr ':' '\n') ; do
+ if [ "$path_element" = "/usr/libexec/icecc/bin" ]; then
+ continue
+ fi
+ if [ -z "$REVERSE_PATH" ]; then
+ REVERSE_PATH="$path_element"
+ else
+ REVERSE_PATH="${REVERSE_PATH}:$path_element"
+ fi
+done
+for path_element in $(echo $REVERSE_PATH | tr ':' '\n') ; do
+ if [ -z "$FORWARD_PATH" ]; then
+ FORWARD_PATH="$path_element"
+ else
+ FORWARD_PATH="${FORWARD_PATH}:$path_element"
+ fi
+done
+PATH=$FORWARD_PATH
+unset FORWARD_PATH REVERSE_PATH
+
cd $TMP
rm -rf ${PKGNAM}-${VERSION}
tar xvf $CWD/${PKGNAM}-$VERSION.tar.xz || exit 1
@@ -151,7 +172,7 @@ chmod 644 $PKG/etc/nanorc.new
# Add a documentation directory:
mkdir -p $PKG/usr/doc/${PKGNAM}-$VERSION
cp -a \
- ABOUT-NLS AUTHORS BUGS COPYING* INSTALL NEWS README* THANKS TODO UPGRADE \
+ ABOUT-NLS AUTHORS BUGS COPYING* IMPROVEMENTS INSTALL NEWS README* THANKS TODO UPGRADE \
doc/faq.html doc/nanorc.sample \
$PKG/usr/doc/${PKGNAM}-$VERSION