stuff broke
This commit is contained in:
Liam Waldron 2023-03-01 11:19:54 -05:00
commit 559dcfb079

View File

@ -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