mirror of
https://github.com/Telecominfraproject/OpenNetworkLinux.git
synced 2025-12-25 09:17:08 +00:00
Don't install an empty version file
This commit is contained in:
@@ -185,7 +185,7 @@ fi
|
||||
|
||||
# If there is a SWI version file put it in /etc/onl/swi_version
|
||||
unzip -oq "$swipath" version > "$workdir/version"
|
||||
if test -f "$workdir/version"; then
|
||||
if test -s "$workdir/version"; then
|
||||
cp "$workdir/version" "$destdir/etc/onl/swi_version"
|
||||
fi
|
||||
|
||||
|
||||
Reference in New Issue
Block a user