Merge branch 'main' of https://git.everestlinux.org/EverestLinux/epkgs-x86-musl
stuff broke
This commit is contained in:
commit
559dcfb079
14
world/nano
14
world/nano
@ -35,21 +35,23 @@ buildpkg() {
|
||||
}
|
||||
|
||||
installpkg() {
|
||||
make install && install -v -m644 doc/{nano.html,sample.nanorc} /usr/share/doc/nano-7.2
|
||||
make install && install -v -m644 doc/{nano.html,sample.nanorc} /usr/share/doc/nano-${PACKAGE_VER}
|
||||
# Never install files to /bin, they will get
|
||||
# overwritten when the user pulls a new update
|
||||
}
|
||||
|
||||
installpkg_system() {
|
||||
install example /bin
|
||||
DESTDIR="/" make install && install -v -m644 doc/{nano.html,sample.nanorc} /share/doc/nano-${PACKAGE_VER}
|
||||
}
|
||||
|
||||
removepkg() {
|
||||
rm /usr/bin/example
|
||||
rm /usr/bin/nano
|
||||
rm -rf /usr/share/doc/nano-${PACKAGE_VER}
|
||||
}
|
||||
|
||||
removepkg_system() {
|
||||
rm /bin/example
|
||||
rm /bin/nano
|
||||
rm -rf /share/doc/nano-${PACKAGE_VER}
|
||||
}
|
||||
|
||||
updatepkg() {
|
||||
@ -58,7 +60,9 @@ updatepkg() {
|
||||
}
|
||||
|
||||
updatepkg_system() {
|
||||
# this is a,s
|
||||
buildpkg "$@"
|
||||
installpkg_system "$@"
|
||||
}
|
||||
|
||||
#
|
||||
# end nano
|
||||
|
Loading…
Reference in New Issue
Block a user