NicolasBernaerts / ubuntu-scripts

Various installation & administration scripts for Ubuntu workstation
186 stars 94 forks source link

gnomeshell-extension-manage: handle exception when no extension enabled #27

Closed Cypresslin closed 7 years ago

Cypresslin commented 7 years ago

When there is no extension enabled, gsetting will return '@as []' for enabled-extensions.

Use sed and tr to get rid of it, and don't add ',' when the list is empty.

This fixes #26

NicolasBernaerts commented 7 years ago

Thanks