EliverLara / firefox-sweet-theme

:candy: A dark and modern theme for firefox with vibrant colors
744 stars 34 forks source link

cp: cannot copy a directory into itself #43

Closed rabywastaken closed 4 years ago

rabywastaken commented 4 years ago

Nothing happens after running the script, tried to refresh Firefox, but that didn't help.

[raby@ThinkPad ~]$ sudo git clone https://github.com/EliverLara/firefox-sweet-theme && cd firefox-sweet-theme
[sudo] password for raby: 
Cloning into 'firefox-sweet-theme'...
remote: Enumerating objects: 192, done.
remote: Counting objects: 100% (192/192), done.
remote: Compressing objects: 100% (127/127), done.
remote: Total 192 (delta 107), reused 139 (delta 62), pack-reused 0
Receiving objects: 100% (192/192), 460.72 KiB | 685.00 KiB/s, done.
Resolving deltas: 100% (107/107), done.
[raby@ThinkPad firefox-sweet-theme]$ sudo ./scripts/install.sh -g
./scripts/install.sh: line 26: cd: /root/.mozilla/firefox//*.default: No such file or directory
Installing theme in /home/raby/firefox-sweet-theme
Coping repo in /home/raby/firefox-sweet-theme/chrome
cp: cannot copy a directory, '/home/raby/firefox-sweet-theme', into itself, '/home/raby/firefox-sweet-theme/chrome/firefox-sweet-theme'
Enabling GNOMISH extra features
Set configuration user.js file
Done.
EliverLara commented 4 years ago

Hi, that's because you are running the script with sudo