Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:Herbster0815:pihole
pi-hole-web
002_pi-hole-web_show_versions.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 002_pi-hole-web_show_versions.patch of Package pi-hole-web
diff -uNr pi-hole-admin-lte-5.16+git.20221010T220044~c2afe42.orig/scripts/pi-hole/php/update_checker.php pi-hole-admin-lte-5.16+git.20221010T220044~c2afe42/scripts/pi-hole/php/update_checker.php --- pi-hole-admin-lte-5.16+git.20221010T220044~c2afe42.orig/scripts/pi-hole/php/update_checker.php 2022-10-12 15:23:29.433749163 +0200 +++ pi-hole-admin-lte-5.16+git.20221010T220044~c2afe42/scripts/pi-hole/php/update_checker.php 2022-10-13 08:50:29.321731735 +0200 @@ -15,14 +15,14 @@ if (!is_readable($versionsfile)) { $core_branch = 'master'; - $core_current = 'N/A'; + $core_current = system("rpm -q --qf '%{version}' pi-hole"); $core_update = false; $web_branch = 'master'; - $web_current = 'N/A'; + $web_current = system("rpm -q --qf '%{version}' pi-hole-web"); $web_update = false; - $FTL_current = 'N/A'; + $FTL_current = system("rpm -q --qf '%{version}' pi-hole-ftl"); $FTL_update = false; $docker_current = 'N/A';
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor