diff options
author | Christian Bartz | 2021-05-11 10:23:41 +0200 |
---|---|---|
committer | Christian Bartz | 2021-05-11 10:23:41 +0200 |
commit | 64fecc16af615e84dd6b8e9114169547c3adb4eb (patch) | |
tree | 30343adc7d316256951c69912afdab11aa50c51b | |
parent | f93209cce2b39d2c5b8426b9e7f9b8acc4423572 (diff) | |
download | aur-64fecc16af615e84dd6b8e9114169547c3adb4eb.tar.gz |
fix post_upgrade behavior
-rw-r--r-- | pyxis.install | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/pyxis.install b/pyxis.install index b69284102fb8..d4d0e2d5e2bb 100644 --- a/pyxis.install +++ b/pyxis.install @@ -1,11 +1,11 @@ post_install() { - if [[ ! -f "/etc/slurm-llnl/plugstack.conf.d/pyxis.conf" ]] - then mkdir -p /etc/slurm-llnl/plugstack.conf.d ln -s /usr/share/pyxis/pyxis.conf /etc/slurm-llnl/plugstack.conf.d/pyxis.conf - fi } post_upgrade() { - post_install + if [[ ! -f "/etc/slurm-llnl/plugstack.conf.d/pyxis.conf" ]] + then + post_install + fi } |