diff options
author | Martin Trigaux | 2018-01-02 14:49:57 +0100 |
---|---|---|
committer | Martin Trigaux | 2018-01-02 14:49:57 +0100 |
commit | e62063a2a897e00306a84769431510ac44bb0810 (patch) | |
tree | ce47de8bd8bad60ea8c1073d1072b75235c47282 /ardor.install | |
download | aur-e62063a2a897e00306a84769431510ac44bb0810.tar.gz |
publish Ardor package
based on nxt scripts
Diffstat (limited to 'ardor.install')
-rw-r--r-- | ardor.install | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/ardor.install b/ardor.install new file mode 100644 index 000000000000..83f2c4437c95 --- /dev/null +++ b/ardor.install @@ -0,0 +1,15 @@ +note() { + printf "${blue}==>${yellow} NOTE:${bold} $1${all_off}\n" +} + +pre_upgrade() { + rm /opt/ardor/lib/* +} + +post_install() { + note "Use 'sudo systemctl enable ardor' to automatically start Ardor at system launch" +} + +post_upgrade() { + post_install +} |