Merge pull request #453 from LouisMT/fix-upgrade-script-typo
Fix small typo in upgrade script
This commit is contained in:
commit
1a41584c28
@ -53,7 +53,7 @@ if version_greater "$image_version" "$installed_version"; then
|
|||||||
run_as 'php /var/www/html/occ upgrade'
|
run_as 'php /var/www/html/occ upgrade'
|
||||||
|
|
||||||
run_as 'php /var/www/html/occ app:list' | sed -n "/Enabled:/,/Disabled:/p" > /tmp/list_after
|
run_as 'php /var/www/html/occ app:list' | sed -n "/Enabled:/,/Disabled:/p" > /tmp/list_after
|
||||||
echo "The following apps have beed disabled:"
|
echo "The following apps have been disabled:"
|
||||||
diff /tmp/list_before /tmp/list_after | grep '<' | cut -d- -f2 | cut -d: -f1
|
diff /tmp/list_before /tmp/list_after | grep '<' | cut -d- -f2 | cut -d: -f1
|
||||||
rm -f /tmp/list_before /tmp/list_after
|
rm -f /tmp/list_before /tmp/list_after
|
||||||
fi
|
fi
|
||||||
|
@ -53,7 +53,7 @@ if version_greater "$image_version" "$installed_version"; then
|
|||||||
run_as 'php /var/www/html/occ upgrade'
|
run_as 'php /var/www/html/occ upgrade'
|
||||||
|
|
||||||
run_as 'php /var/www/html/occ app:list' | sed -n "/Enabled:/,/Disabled:/p" > /tmp/list_after
|
run_as 'php /var/www/html/occ app:list' | sed -n "/Enabled:/,/Disabled:/p" > /tmp/list_after
|
||||||
echo "The following apps have beed disabled:"
|
echo "The following apps have been disabled:"
|
||||||
diff /tmp/list_before /tmp/list_after | grep '<' | cut -d- -f2 | cut -d: -f1
|
diff /tmp/list_before /tmp/list_after | grep '<' | cut -d- -f2 | cut -d: -f1
|
||||||
rm -f /tmp/list_before /tmp/list_after
|
rm -f /tmp/list_before /tmp/list_after
|
||||||
fi
|
fi
|
||||||
|
@ -53,7 +53,7 @@ if version_greater "$image_version" "$installed_version"; then
|
|||||||
run_as 'php /var/www/html/occ upgrade'
|
run_as 'php /var/www/html/occ upgrade'
|
||||||
|
|
||||||
run_as 'php /var/www/html/occ app:list' | sed -n "/Enabled:/,/Disabled:/p" > /tmp/list_after
|
run_as 'php /var/www/html/occ app:list' | sed -n "/Enabled:/,/Disabled:/p" > /tmp/list_after
|
||||||
echo "The following apps have beed disabled:"
|
echo "The following apps have been disabled:"
|
||||||
diff /tmp/list_before /tmp/list_after | grep '<' | cut -d- -f2 | cut -d: -f1
|
diff /tmp/list_before /tmp/list_after | grep '<' | cut -d- -f2 | cut -d: -f1
|
||||||
rm -f /tmp/list_before /tmp/list_after
|
rm -f /tmp/list_before /tmp/list_after
|
||||||
fi
|
fi
|
||||||
|
@ -53,7 +53,7 @@ if version_greater "$image_version" "$installed_version"; then
|
|||||||
run_as 'php /var/www/html/occ upgrade'
|
run_as 'php /var/www/html/occ upgrade'
|
||||||
|
|
||||||
run_as 'php /var/www/html/occ app:list' | sed -n "/Enabled:/,/Disabled:/p" > /tmp/list_after
|
run_as 'php /var/www/html/occ app:list' | sed -n "/Enabled:/,/Disabled:/p" > /tmp/list_after
|
||||||
echo "The following apps have beed disabled:"
|
echo "The following apps have been disabled:"
|
||||||
diff /tmp/list_before /tmp/list_after | grep '<' | cut -d- -f2 | cut -d: -f1
|
diff /tmp/list_before /tmp/list_after | grep '<' | cut -d- -f2 | cut -d: -f1
|
||||||
rm -f /tmp/list_before /tmp/list_after
|
rm -f /tmp/list_before /tmp/list_after
|
||||||
fi
|
fi
|
||||||
|
@ -53,7 +53,7 @@ if version_greater "$image_version" "$installed_version"; then
|
|||||||
run_as 'php /var/www/html/occ upgrade'
|
run_as 'php /var/www/html/occ upgrade'
|
||||||
|
|
||||||
run_as 'php /var/www/html/occ app:list' | sed -n "/Enabled:/,/Disabled:/p" > /tmp/list_after
|
run_as 'php /var/www/html/occ app:list' | sed -n "/Enabled:/,/Disabled:/p" > /tmp/list_after
|
||||||
echo "The following apps have beed disabled:"
|
echo "The following apps have been disabled:"
|
||||||
diff /tmp/list_before /tmp/list_after | grep '<' | cut -d- -f2 | cut -d: -f1
|
diff /tmp/list_before /tmp/list_after | grep '<' | cut -d- -f2 | cut -d: -f1
|
||||||
rm -f /tmp/list_before /tmp/list_after
|
rm -f /tmp/list_before /tmp/list_after
|
||||||
fi
|
fi
|
||||||
|
@ -53,7 +53,7 @@ if version_greater "$image_version" "$installed_version"; then
|
|||||||
run_as 'php /var/www/html/occ upgrade'
|
run_as 'php /var/www/html/occ upgrade'
|
||||||
|
|
||||||
run_as 'php /var/www/html/occ app:list' | sed -n "/Enabled:/,/Disabled:/p" > /tmp/list_after
|
run_as 'php /var/www/html/occ app:list' | sed -n "/Enabled:/,/Disabled:/p" > /tmp/list_after
|
||||||
echo "The following apps have beed disabled:"
|
echo "The following apps have been disabled:"
|
||||||
diff /tmp/list_before /tmp/list_after | grep '<' | cut -d- -f2 | cut -d: -f1
|
diff /tmp/list_before /tmp/list_after | grep '<' | cut -d- -f2 | cut -d: -f1
|
||||||
rm -f /tmp/list_before /tmp/list_after
|
rm -f /tmp/list_before /tmp/list_after
|
||||||
fi
|
fi
|
||||||
|
@ -53,7 +53,7 @@ if version_greater "$image_version" "$installed_version"; then
|
|||||||
run_as 'php /var/www/html/occ upgrade'
|
run_as 'php /var/www/html/occ upgrade'
|
||||||
|
|
||||||
run_as 'php /var/www/html/occ app:list' | sed -n "/Enabled:/,/Disabled:/p" > /tmp/list_after
|
run_as 'php /var/www/html/occ app:list' | sed -n "/Enabled:/,/Disabled:/p" > /tmp/list_after
|
||||||
echo "The following apps have beed disabled:"
|
echo "The following apps have been disabled:"
|
||||||
diff /tmp/list_before /tmp/list_after | grep '<' | cut -d- -f2 | cut -d: -f1
|
diff /tmp/list_before /tmp/list_after | grep '<' | cut -d- -f2 | cut -d: -f1
|
||||||
rm -f /tmp/list_before /tmp/list_after
|
rm -f /tmp/list_before /tmp/list_after
|
||||||
fi
|
fi
|
||||||
|
@ -53,7 +53,7 @@ if version_greater "$image_version" "$installed_version"; then
|
|||||||
run_as 'php /var/www/html/occ upgrade'
|
run_as 'php /var/www/html/occ upgrade'
|
||||||
|
|
||||||
run_as 'php /var/www/html/occ app:list' | sed -n "/Enabled:/,/Disabled:/p" > /tmp/list_after
|
run_as 'php /var/www/html/occ app:list' | sed -n "/Enabled:/,/Disabled:/p" > /tmp/list_after
|
||||||
echo "The following apps have beed disabled:"
|
echo "The following apps have been disabled:"
|
||||||
diff /tmp/list_before /tmp/list_after | grep '<' | cut -d- -f2 | cut -d: -f1
|
diff /tmp/list_before /tmp/list_after | grep '<' | cut -d- -f2 | cut -d: -f1
|
||||||
rm -f /tmp/list_before /tmp/list_after
|
rm -f /tmp/list_before /tmp/list_after
|
||||||
fi
|
fi
|
||||||
|
@ -53,7 +53,7 @@ if version_greater "$image_version" "$installed_version"; then
|
|||||||
run_as 'php /var/www/html/occ upgrade'
|
run_as 'php /var/www/html/occ upgrade'
|
||||||
|
|
||||||
run_as 'php /var/www/html/occ app:list' | sed -n "/Enabled:/,/Disabled:/p" > /tmp/list_after
|
run_as 'php /var/www/html/occ app:list' | sed -n "/Enabled:/,/Disabled:/p" > /tmp/list_after
|
||||||
echo "The following apps have beed disabled:"
|
echo "The following apps have been disabled:"
|
||||||
diff /tmp/list_before /tmp/list_after | grep '<' | cut -d- -f2 | cut -d: -f1
|
diff /tmp/list_before /tmp/list_after | grep '<' | cut -d- -f2 | cut -d: -f1
|
||||||
rm -f /tmp/list_before /tmp/list_after
|
rm -f /tmp/list_before /tmp/list_after
|
||||||
fi
|
fi
|
||||||
|
@ -53,7 +53,7 @@ if version_greater "$image_version" "$installed_version"; then
|
|||||||
run_as 'php /var/www/html/occ upgrade'
|
run_as 'php /var/www/html/occ upgrade'
|
||||||
|
|
||||||
run_as 'php /var/www/html/occ app:list' | sed -n "/Enabled:/,/Disabled:/p" > /tmp/list_after
|
run_as 'php /var/www/html/occ app:list' | sed -n "/Enabled:/,/Disabled:/p" > /tmp/list_after
|
||||||
echo "The following apps have beed disabled:"
|
echo "The following apps have been disabled:"
|
||||||
diff /tmp/list_before /tmp/list_after | grep '<' | cut -d- -f2 | cut -d: -f1
|
diff /tmp/list_before /tmp/list_after | grep '<' | cut -d- -f2 | cut -d: -f1
|
||||||
rm -f /tmp/list_before /tmp/list_after
|
rm -f /tmp/list_before /tmp/list_after
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user