vinceliuice / Tela-icon-theme

A flat colorful Design icon theme
https://www.pling.com/p/1279924/
GNU General Public License v3.0
1.54k stars 85 forks source link

Fix install.sh skipping the first argument after a `-c` #255

Closed walldmtd closed 1 year ago

walldmtd commented 1 year ago

An extra shift in the if statement causes it to move forward 2 arguments instead of 1 on the next loop, skipping the next argument.

Example: ./install.sh -c -d '[filepath]' would shift twice after the -c which skips the -d and tries to read the filepath as the next argument, causing an unknown argument error.