On Sun, 12 Sep 2021 at 15:10:18 -0400, Steve Dondley via Pkg-roundcube-maintainers wrote: > On 2021-09-12 02:58 PM, Steve Dondley wrote: >>> Here is my version of app.js: >>> https://gist.github.com/sdondley/9db6dbffb8fb751c4afcd1092ab24fd0 >> >> Alright, so all confusion is from the fact that I did hack the app.js >> file and did not revert it back to its original state as I thought. I >> did make this change to app.js: >> >> 2696c2696 >> < this.env.search_scope = 'base'; >> --- >>> this.env.search_scope = 'all'; >> >> This is a bug an upstream bug. Sorry to waste your time. Please close >> this out. I will report this to roundcube project. > > I'll know better next time that the files don't go directly into the package > and are merely pulled from the source on github. Thanks for pointing this > out.
No no, sorry for misleading you, the files *are* included in the package, see `dpkg-deb -c /path/to/roundcube-core_1.4.11+dfsg.1-4_all.deb`. There is no guaranty that we ship exact copies of what's found in upstream releases, either: for instance we generate the .min.js files ourselves, and have a handful of Debian-specific modifications on other files. I suggested GitHub as an easy way for you to get a copy of the file we ship in our package, but it *only* works because we happen to ship the *same* file (that's why I checked the digest earlier). A reliable way for arbitrary files/packages is to extract the content of the .deb: dpkg-deb --fsys-tarfile /path/to/roundcube-core_1.4.11+dfsg.1-4_all.deb \ | tar -xOf- ./usr/share/roundcube/program/js/app.js or if you want to replace the existing version: dpkg-deb --fsys-tarfile /path/to/roundcube-core_1.4.11+dfsg.1-4_all.deb \ | tar -C/ -xf- ./usr/share/roundcube/program/js/app.js But for *that file* downloading from the upstream repository is a valid option and I thought it was also easier :-) -- Guilhem.
signature.asc
Description: PGP signature