Files
stormfetch/pre_update.sh

9 lines
238 B
Bash

#!/bin/sh
# Rename 'config.yaml' file to 'config.yml.old'
if [ `bpm vercmp "$BPM_PKG_OLD_VERSION" 6.2` -le 0 ]; then
if [ -f /etc/stormfetch/config.yaml ]; then
mv /etc/stormfetch/config.yaml /etc/stormfetch/config.yml.old
fi
fi