aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorur4t <ur4t@protonmail.com>2021-06-22 10:16:24 +0800
committerLeo <thinkabit.ukim@gmail.com>2021-06-24 23:30:03 +0000
commitcba4193dac3821567daaf44de72965835601c10a (patch)
tree21ac13698bf66e4d9d29e1239391eb07a187127f
parent50891bdc8fe035d39b181c01040aafad6c43160f (diff)
downloadaports-cba4193dac3821567daaf44de72965835601c10a.tar.gz
aports-cba4193dac3821567daaf44de72965835601c10a.tar.bz2
aports-cba4193dac3821567daaf44de72965835601c10a.tar.xz
main/nano: fix `include /usr/share/nano/*.nanorc` error in nanorc when nano-syntax not present
-rw-r--r--main/nano/APKBUILD6
1 files changed, 3 insertions, 3 deletions
diff --git a/main/nano/APKBUILD b/main/nano/APKBUILD
index 101811359f..d91a36bec3 100644
--- a/main/nano/APKBUILD
+++ b/main/nano/APKBUILD
@@ -2,7 +2,7 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=nano
pkgver=5.8
-pkgrel=0
+pkgrel=1
pkgdesc="Enhanced clone of the Pico text editor"
url="https://www.nano-editor.org"
arch="all"
@@ -43,8 +43,8 @@ package() {
syntax() {
pkgdesc="Syntax highlighting definitions for $pkgname"
- mkdir -p "$subpkgdir"/usr/share/
- mv "$pkgdir"/usr/share/$pkgname/ \
+ mkdir -p "$subpkgdir"/usr/share/$pkgname/
+ mv "$pkgdir"/usr/share/$pkgname/* \
"$subpkgdir"/usr/share/$pkgname/
}