postinst: move cifs credential files into subdirectory upon update
and drop the compat code. Signed-off-by: Fabian Ebner <f.ebner@proxmox.com>
This commit is contained in:
committed by
Fabian Grünbichler
parent
d7f6f85ea0
commit
1a4ab884e8
@ -59,9 +59,6 @@ sub get_cred_file {
|
||||
|
||||
if (-e $cred_file) {
|
||||
return $cred_file;
|
||||
} elsif (-e "/etc/pve/priv/${storeid}.cred") {
|
||||
# FIXME: remove fallback with 7.0 by doing a rename on upgrade from 6.x
|
||||
return "/etc/pve/priv/${storeid}.cred";
|
||||
}
|
||||
return undef;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user