Skip to content

Commit 7224c23

Browse files
committed
better postrm
+typo fix
1 parent 0ea0b56 commit 7224c23

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

debian/cnb-cache.postrm

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@
22
set -e
33

44
case "$1" in
5-
purge|remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)
5+
purge|remove|disappear)
6+
rm -rf /var/lib/composer/cnb-cache
67
;;
78

89
*)

src/SpojeNet/Cnb/ExchangeRate.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ public function getRateInfo($currency, $age): array {
127127
if($rateInfo){
128128
$result = $rateInfo;
129129
} else {
130-
$result['message'] = 'no record for '. self::dateBeforeDays($age)];
130+
$result['message'] = 'no record for '. self::dateBeforeDays($age);
131131
}
132132

133133
$result['age'] = $age;

0 commit comments

Comments
 (0)