welcome KuLuSz
Better command line tools, and pkg manager suggestions
- nilsonmorales
- Posts: 972
- Joined: Fri 15 Apr 2011, 14:39
- Location: El Salvador
KuLuSz:
did a test your script to remove packages, puppy tahr with xfce, show me this.
did a test your script to remove packages, puppy tahr with xfce, show me this.
[b][url=http://nilsonmorales.blogspot.com/]My blog |[/url][/b][b][url=https://github.com/woofshahenzup]| Github[/url][/b]
[img]https://i.postimg.cc/5tz5vrrX/imag018la6.gif[/img]
[img]http://s5.postimg.org/7h2fid8pz/botones_logos3.png[/img]
[img]https://i.postimg.cc/5tz5vrrX/imag018la6.gif[/img]
[img]http://s5.postimg.org/7h2fid8pz/botones_logos3.png[/img]
hello ally thank you the greetings and thank you very much the hungarian puppies uploads to archives.org
hola nilson
hm , may some programming fail ... i will check this out . thanku the reply .
124 & 192 looks like i was do wrong exit for yafsplash , its not big problem ...
131 the link deleting method i dont truly know what is the problem . I was make it for more libs what uses same main file for keeping it , if have other links with same name ...
Anyway i dont get this errors in my system ... I use LX7 puppy (hungarian) , based on retro precise 11.12 or retro precise 5421 .
shell check showing this :
may need put this "$(cat /tmp/installed_pkg_dep_list | grep '$x' | grep -c -m 2 -v '$x[.-_]')" with double quote in the 131 line .
hola nilson
hm , may some programming fail ... i will check this out . thanku the reply .
124 & 192 looks like i was do wrong exit for yafsplash , its not big problem ...
131 the link deleting method i dont truly know what is the problem . I was make it for more libs what uses same main file for keeping it , if have other links with same name ...
Anyway i dont get this errors in my system ... I use LX7 puppy (hungarian) , based on retro precise 11.12 or retro precise 5421 .
shell check showing this :
Code: Select all
Line 131:
if [ ! $(cat /tmp/installed_pkg_dep_list | grep '$x' | grep -c -m 2 -v '$x[.-_]') -gt "1" ];then
^-- SC2046: Quote this to prevent word splitting.
^-- SC2002: Useless cat. Consider 'cmd < file | ..' or 'cmd file | ..' instead.
^-- SC2016: Expressions don't expand in single quotes, use double quotes for that.
^-- SC2016: Expressions don't expand in single quotes, use double quotes for that.
Last edited by KuLuSz on Thu 14 Dec 2017, 20:43, edited 2 times in total.
[size=200][b]<(] [color=red]K u L u S z[/color] [)>[/b][/size]
Live contact: [url=https://discord.gg/74tBqJk]DISCORD[/url] [url=http://webchat.freenode.net/?nick=Mess2KuLuSz...&channels=puppylinux&prompt=1]IRC[/url]
Live contact: [url=https://discord.gg/74tBqJk]DISCORD[/url] [url=http://webchat.freenode.net/?nick=Mess2KuLuSz...&channels=puppylinux&prompt=1]IRC[/url]
The development of Pkg has moved here: http://murga-linux.com/puppy/viewtopic.php?t=112927
Still happy to take suggestions, wild ideas etc for Pkg and other CLI tools here.
Still happy to take suggestions, wild ideas etc for Pkg and other CLI tools here.
[b][url=https://bit.ly/2KjtxoD]Pkg[/url], [url=https://bit.ly/2U6dzxV]mdsh[/url], [url=https://bit.ly/2G49OE8]Woofy[/url], [url=http://goo.gl/bzBU1]Akita[/url], [url=http://goo.gl/SO5ug]VLC-GTK[/url], [url=https://tiny.cc/c2hnfz]Search[/url][/b]
Idea for alternative Woof(ish) GUI
Example of an alternative Woof UI:
Based on buildroot ...
Code:
Based on buildroot ...
Code:
Code: Select all
#!/bin/ash
set -a
# speed up
USER_LANG=$LANG
USER_LC_ALL=$LC_ALL
export LANG=C
export LC_ALL=C
export SELF=$(basename $0)
export TMPFILE=/tmp/mkdistro_$(whoami)_tmpfile
export CURDIR="`pwd`"
export WORKDIR=/tmp/mkdistro_$(whoami)
mkdir -p "$WORKDIR" 2>/dev/null # probably already exists
# set app name, title, version
APPNAME="mkpup"
APPVER="0.1"
APPTITLE="$APPNAME $APPVER"
#BACKTITLE="Build Puppy Linux from scratch"
# set dialog settings, set default as dialog, allow override
[ -z "$DIALOG" ] && DIALOG=dialog
[ "`basename $0`" = "Xmkdistro" ] && DIALOG=Xdialog
[ "$DIALOG" = "Xdialog" ] && BACKTITLE="--title \"$APPTITLE\"" && APPNAME="Xpkgdialog"
$DIALOG --title "$APPTITLE" --no-shadow --no-collapse --ok-label "Next" --cancel-label "Quit" --menu "
Build Puppy Linux from scratch: choose an option below" 28 76 28 \
"Help " "Read the help documentation" \
"Settings " "Show/edit the settings" \
"" "" \
"Load Config =>" "Load build settings from file" \
"" "" \
"1. Architecture =>" "Select x86, x86_64, ARM, etc" \
"2. Boot options =>" "Select bootloader and settings" \
"3. Kernel =>" "Select a pre-made kernel, or build your own" \
"4. Base distro =>" "Select from Debian, Ubuntu or Slackware" \
"5. Packages =>" "Add/remove programs and libs" \
"6. Window Manager =>" "Xfce, OpenBox, MATE, JWM, etc" \
"7. Themes =>" "Choose WM, GTK, Icon and desktop themes" \
"8. Advanced Edit =>" "Edit system, devx and other settings" \
"9. Build options =>" "Build ISO or SFS only, etc" \
"" "" \
"Save Config =>" "Save current build settings" \
"" "" \
"10. BUILD NOW " "Build your Puppy!" 2>$TMPFILE
export LANG=$USER_LANG
export LC_ALL=$USER_LC_ALL
exit 0
[b][url=https://bit.ly/2KjtxoD]Pkg[/url], [url=https://bit.ly/2U6dzxV]mdsh[/url], [url=https://bit.ly/2G49OE8]Woofy[/url], [url=http://goo.gl/bzBU1]Akita[/url], [url=http://goo.gl/SO5ug]VLC-GTK[/url], [url=https://tiny.cc/c2hnfz]Search[/url][/b]
Note to self:
at some point in the woof process, the user should be asked to enable/disable the startup services/scripts in /etc/init.d/ (etc), so they can very easily decide what services to run by default ..
https://github.com/puppylinux-woof-CE/w ... ssues/1522
at some point in the woof process, the user should be asked to enable/disable the startup services/scripts in /etc/init.d/ (etc), so they can very easily decide what services to run by default ..
https://github.com/puppylinux-woof-CE/w ... ssues/1522