mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-08 22:45:43 +00:00
10 lines
257 B
Text
10 lines
257 B
Text
|
post_upgrade() {
|
||
|
# improved permissions since 0.9.3-1
|
||
|
if [ "$(vercmp "$2" "0.9.3")" -lt 0 ]; then
|
||
|
chown 0:208 /etc/consul.d
|
||
|
chmod 0750 /etc/consul.d
|
||
|
echo -en "----\nThe directory permissions for /etc/consul.d/ have been fixed.\n----\n"
|
||
|
fi
|
||
|
true
|
||
|
}
|