Skip to content

Commit

Permalink
Merge pull request #1267 from mariux64/fix-atop
Browse files Browse the repository at this point in the history
atop: fix installation
  • Loading branch information
wwwutz authored Sep 17, 2019
2 parents a82fce5 + 76f447f commit eaac99d
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions atop.be0
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/usr/bin/env beesh

# BEE_VERSION atop-2.4.0-0
# BEE_VERSION atop-2.4.0-1

## this file was created by bee init and should be executed to build a
## bee-package. (Additional hints are located at the end of this file.)
Expand Down Expand Up @@ -56,14 +56,16 @@ SRCURL[0]="https://www.atoptool.nl/download/atop-${PKGVERSION}.tar.gz"
#}

mee_install() {
start_cmd make systemdinstall DESTDIR="${D}"
mkdir -pv ${D}${BINDIR}
cp -v atop ${D}${BINDIR}
mkdir -pv ${D}${MANDIR}/man1
cp -v man/atop.1 ${D}${MANDIR}/man1
}
## by default this may be 'make install DESTDIR="${D}"'

mee_install_post() {
rm -v ${D}/etc/cron.d/atop
rmdir ${D}/etc/cron.d/
}
#mee_install_post() {
# exit
#}

###############################################################################
##
Expand Down

0 comments on commit eaac99d

Please sign in to comment.