graysky2 / profile-sync-daemon

Symlinks and syncs browser profile dirs to RAM thus reducing HDD/SDD calls and speeding-up browsers.
https://wiki.archlinux.org/index.php/Profile-sync-daemon
Other
905 stars 88 forks source link

firefox 115.2.0esr (64-bit) psd startup fails #361

Open UrbanDesimator opened 1 year ago

UrbanDesimator commented 1 year ago

Hi when using firefox-115.2.0esr (64-bit) with it set in /etc/psd.conf @Line=52 BROWSERS="firefox opera-developer google-chrome". psd will not start using either shell script or command line, psd parse wont run either. Giving the bellow error. /usr/bin/profile-sync-daemon: line 580: ${#DIRArr[@]##*/}: bad substitution

I searched and found this https://www.bspu.by/gentoo-portage/www-misc/profile-sync-daemon/files/bad-substitution-fix.patch

I had already built psd so I edited /usr/bin/profile-sync-daemon according to patch and psd now runs as expected including psd parse. A fantastic addition to my linux system giving really good increase in browser performance. thank you. Hope the info helps anyone else with same issue

graysky2 commented 1 year ago

That patch is for an old version of psd. Which version are you building?