RR: Rework Rows
This commit is contained in:
parent
d07fa55060
commit
2ad12278cc
2
Makefile
2
Makefile
@ -15,8 +15,10 @@ install:
|
|||||||
mkdir -p $(DESTDIR)/usr/lib/pika/pika-installer-gtk4/scripts/
|
mkdir -p $(DESTDIR)/usr/lib/pika/pika-installer-gtk4/scripts/
|
||||||
mkdir -p $(DESTDIR)/usr/share/glib-2.0/schemas/
|
mkdir -p $(DESTDIR)/usr/share/glib-2.0/schemas/
|
||||||
cp -rvf data/scripts/*.sh $(DESTDIR)/usr/lib/pika/pika-installer-gtk4/scripts/
|
cp -rvf data/scripts/*.sh $(DESTDIR)/usr/lib/pika/pika-installer-gtk4/scripts/
|
||||||
|
cp -rvf data/scripts/*.py $(DESTDIR)/usr/lib/pika/pika-installer-gtk4/scripts/
|
||||||
cp data/*.xml $(DESTDIR)/usr/share/glib-2.0/schemas/
|
cp data/*.xml $(DESTDIR)/usr/share/glib-2.0/schemas/
|
||||||
chmod 755 $(DESTDIR)/usr/lib/pika/pika-installer-gtk4/scripts/*.sh
|
chmod 755 $(DESTDIR)/usr/lib/pika/pika-installer-gtk4/scripts/*.sh
|
||||||
|
chmod 755 $(DESTDIR)/usr/lib/pika/pika-installer-gtk4/scripts/*.py
|
||||||
mkdir -p $(DESTDIR)/usr/share/applications
|
mkdir -p $(DESTDIR)/usr/share/applications
|
||||||
mkdir -p $(DESTDIR)/usr/share/icons/hicolor/scalable/apps
|
mkdir -p $(DESTDIR)/usr/share/icons/hicolor/scalable/apps
|
||||||
#cp -vf data/pika-drivers.svg $(DESTDIR)/usr/share/icons/hicolor/scalable/apps/
|
#cp -vf data/pika-drivers.svg $(DESTDIR)/usr/share/icons/hicolor/scalable/apps/
|
||||||
|
11
data/scripts/locale-name.py
Executable file
11
data/scripts/locale-name.py
Executable file
@ -0,0 +1,11 @@
|
|||||||
|
import gi
|
||||||
|
gi.require_version('GnomeDesktop', '4.0')
|
||||||
|
from gi.repository import GnomeDesktop
|
||||||
|
import sys
|
||||||
|
|
||||||
|
|
||||||
|
locale_name = GnomeDesktop.get_language_from_locale(sys.argv[1], None)
|
||||||
|
if locale_name is not None:
|
||||||
|
print(locale_name, end="")
|
||||||
|
else:
|
||||||
|
print("Unknown Language", end="")
|
Loading…
Reference in New Issue
Block a user