sunwxg / gnome-shell-extension-unblank

MIT License
100 stars 15 forks source link

Fix installation #7

Closed MaxXor closed 5 years ago

MaxXor commented 5 years ago

Without the slash / at the end it does copy the directory contents directly into ~/.local/share/gnome-shell/extensions/ and the extension can not be installed (on Arch Linux at least).

sunwxg commented 5 years ago

On my system(openSUSE) it's same for source with tailing slash or without tailing slash. After I google it, I think source without tailing slash is a more safe way to copy a folder. On some system if source with tailing slash may have different behavior.

For the situation on your system I can't understand. Maybe we can use another way to do this job.

mkdir -p ~/.local/share/gnome-shell/extensions/unblank@sun.wxg@gmail.com
cp -r unblank@sun.wxg@gmail.com/* ~/.local/share/gnome-shell/extensions/unblank@sun.wxg@gmail.com/
MaxXor commented 5 years ago

Yes, cp -r unblank@sun.wxg@gmail.com/* or cp -r unblank@sun.wxg@gmail.com/. are perfectly fine. I'll update the PR.

MaxXor commented 5 years ago

Done, this should work now on yours and mine systems.