Skip to content

Commit

Permalink
Streamline SFOS version string
Browse files Browse the repository at this point in the history
  • Loading branch information
JamiKettunen committed Jul 27, 2019
1 parent 5ce27f2 commit e933e99
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions boot-switcher/switch-boot-target.sh
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ if [ -f "$TARGET_FILE" ]; then # Sailfish OS

TARGET="hybris"
SFOS_REL=`cat /data/.stowaways/sailfishos/etc/os-release | grep VERSION= | cut -d'=' -f2 | cut -d'"' -f2` # e.g. '3.0.3.10 (Hossa)'
TARGET_PRETTY="SailfishOS $SFOS_REL" # e.g. "SailfishOS 3.0.3.10 (Hossa)"
TARGET_PRETTY="Sailfish OS $SFOS_REL" # e.g. "Sailfish OS 3.0.3.10 (Hossa)"
else # LineageOS
touch "$TARGET_FILE"

Expand Down Expand Up @@ -232,4 +232,4 @@ umount /system &> /dev/null
log "Boot target updated successfully."
ui_print " All done, enjoy your new OS!"
ui_print " "
exit 0
exit 0
Binary file modified screenshots/sfos.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit e933e99

Please sign in to comment.