This commit is contained in:
Ward Nakchbandi 2023-03-29 18:03:34 +03:00
parent 7b8bb26505
commit 6c2ae2cd25
4 changed files with 29 additions and 16 deletions

View File

@ -1,3 +1,9 @@
pika-baseos (2.3.2) kinetic; urgency=medium
* Put wiregaurd as recommends not deps, add pika-audio, and add pika-chsh
-- Ward Nakchbandi <hotrod.master@hotmail.com> Thu, 12 Jan 2023 16:48:00 +0300
pika-baseos (2.3.1) kinetic; urgency=medium
* Disable system76-hidpi by default

View File

@ -115,7 +115,6 @@ Depends: ${misc:Depends},
net-tools,
libproxy1-plugin-gsettings,
libproxy1-plugin-networkmanager,
network-manager-wireguard-plugin,
wireless-tools,
rfkill,
gstreamer1.0-plugins-base-apps,
@ -125,21 +124,8 @@ Depends: ${misc:Depends},
samba-common-bin,
wpasupplicant,
## Audio and codecs
libasound2-plugins,
libldacbt-abr2,
libldacbt-enc2,
libfreeaptx0,
libspa-0.2-bluetooth,
libspa-0.2-jack,
pipewire,
pipewire-alsa,
pipewire-jack,
pipewire-pulse,
pulseaudio-utils,
wireplumber,
gstreamer1.0-alsa,
Recommends: power-profiles-daemon
Conflicts: pulseaudio, pipewire-media-session
pika-audio-pipewire | pika-audio-legacy
Recommends: power-profiles-daemon, network-manager-wireguard-plugin
Description: The backbone of PikaOS
Suggests:
## Make pika-gnome-desktop-minimal deps not go to autoremove

View File

@ -1 +1,2 @@
etc
usr

20
pika-baseos/usr/bin/pika-chsh Executable file
View File

@ -0,0 +1,20 @@
#! /bin/bash
set -e
if [[ -z $1 ]]
then
echo 'Usage: pika-chsh shell user'
echo 'Example: pika-chsh fish smith'
else
if [[ ! -f /usr/local/bin/"$1"login ]]
then
touch /usr/local/bin/"$1"login
echo '#! /bin/bash -l' > /usr/local/bin/"$1"login
echo "exec -l $1" $(echo -e '"$@"') >> /usr/local/bin/"$1"login
echo "/usr/local/bin/"$1"login" | tee -a /etc/shells
chmod -x /usr/local/bin/"$1"login
fi
chsh -s /usr/local/bin/"$1"login $2
fi