mirror of
https://github.com/zen-browser/desktop.git
synced 2026-08-29 09:51:33 +00:00
chore: Update disk-setup-and-swap.sh to conditionally execute 'free -h' and 'df -h' commands
This commit is contained in:
16
.github/workflows/src/disk-setup-and-swap.sh
vendored
16
.github/workflows/src/disk-setup-and-swap.sh
vendored
@@ -1,7 +1,11 @@
|
||||
|
||||
echo Before:
|
||||
free -h
|
||||
df -h
|
||||
if [ command -v free ]; then
|
||||
free -h
|
||||
fi
|
||||
if [ command -v df ]; then
|
||||
df -h
|
||||
fi
|
||||
|
||||
echo
|
||||
echo
|
||||
@@ -38,5 +42,9 @@ echo
|
||||
echo
|
||||
|
||||
echo After:
|
||||
free -h
|
||||
df -h
|
||||
if [ command -v free ]; then
|
||||
free -h
|
||||
fi
|
||||
if [ command -v df ]; then
|
||||
df -h
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user