diff options
author | Leonardo Arena <rnalrd@gmail.com> | 2009-07-24 14:30:36 +0000 |
---|---|---|
committer | Leonardo Arena <rnalrd@gmail.com> | 2009-07-24 14:30:36 +0000 |
commit | aad5f530b5a45159e9420d654173345006bde998 (patch) | |
tree | f427a36747ad2cf14b42a0d6c90daf59c363194e /extra/gross/gross.pre-upgrade | |
parent | 56109a1e6ab54abf2a71481351eb940615922faa (diff) | |
parent | e374901731eb35599bd6735de4dd38560e3a79b8 (diff) | |
download | aports-aad5f530b5a45159e9420d654173345006bde998.tar.bz2 aports-aad5f530b5a45159e9420d654173345006bde998.tar.xz |
Merge branch 'master' of git://dev.alpinelinux.org/aports
Diffstat (limited to 'extra/gross/gross.pre-upgrade')
-rw-r--r-- | extra/gross/gross.pre-upgrade | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/extra/gross/gross.pre-upgrade b/extra/gross/gross.pre-upgrade new file mode 100644 index 000000000..90361bcc6 --- /dev/null +++ b/extra/gross/gross.pre-upgrade @@ -0,0 +1,12 @@ +#!/bin/sh + +old=/etc/conf.d/gross +new=/etc/conf.d/grossd + +if [ -f "$old" ] && [ ! -f "$new" ]; then + mv "$old" "$new" + echo " *" + echo " * NOTICE: $old was renamed to $new" + echo " *" +fi + |