summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian Bartz2021-05-11 10:23:41 +0200
committerChristian Bartz2021-05-11 10:23:41 +0200
commit64fecc16af615e84dd6b8e9114169547c3adb4eb (patch)
tree30343adc7d316256951c69912afdab11aa50c51b
parentf93209cce2b39d2c5b8426b9e7f9b8acc4423572 (diff)
downloadaur-64fecc16af615e84dd6b8e9114169547c3adb4eb.tar.gz
fix post_upgrade behavior
-rw-r--r--pyxis.install8
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
}