Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Mon 18 Jun 2018, 06:18
All times are UTC - 4
 Forum index » Taking the Puppy out for a walk » Suggestions
Better command line tools, and pkg manager suggestions
Moderators: Flash, Ian, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 6 of 6 [82 Posts]   Goto page: Previous 1, 2, 3, 4, 5, 6
Author Message
ally


Joined: 19 May 2012
Posts: 1820
Location: lincoln, uk

PostPosted: Wed 13 Dec 2017, 19:17    Post subject:  

welcome KuLuSz

Smile
Back to top
View user's profile Send private message Visit poster's website 
nilsonmorales


Joined: 15 Apr 2011
Posts: 939
Location: El Salvador

PostPosted: Wed 13 Dec 2017, 20:24    Post subject:  

KuLuSz:
did a test your script to remove packages, puppy tahr with xfce, show me this.

_________________
My blog | | Github


Back to top
View user's profile Send private message 
KuLuSz


Joined: 13 Dec 2017
Posts: 14
Location: HuNgArY

PostPosted: Thu 14 Dec 2017, 12:14    Post subject:  

hello ally thank you the greetings Wink Smile and thank you very much the hungarian puppies uploads to archives.org Exclamation Razz Smile

hola nilson
hm , may some programming fail ... i will check this out . thanku the reply . Smile
124 & 192 looks like i was do wrong exit for yafsplash , its not big problem ... Very Happy
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:
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.


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 .

_________________
-<(].K.u.L.u.S.z.[)>-

Last edited by KuLuSz on Thu 14 Dec 2017, 16:43; edited 2 times in total
Back to top
View user's profile Send private message Visit poster's website 
ally


Joined: 19 May 2012
Posts: 1820
Location: lincoln, uk

PostPosted: Thu 14 Dec 2017, 12:33    Post subject:  

http://archive.org/details/puppylinux?and[]=KuLuSz

Smile
Back to top
View user's profile Send private message Visit poster's website 
KuLuSz


Joined: 13 Dec 2017
Posts: 14
Location: HuNgArY

PostPosted: Thu 14 Dec 2017, 12:36    Post subject:  

yes-yes i saw it , and thank you for sharing/uploading !
_________________
-<(].K.u.L.u.S.z.[)>-
Back to top
View user's profile Send private message Visit poster's website 
sc0ttman


Joined: 16 Sep 2009
Posts: 2577
Location: UK

PostPosted: Wed 14 Mar 2018, 20:22    Post subject:  

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.

_________________
Akita Linux, VLC-GTK, Pup Search, Pup File Search
Back to top
View user's profile Send private message 
sc0ttman


Joined: 16 Sep 2009
Posts: 2577
Location: UK

PostPosted: Mon 02 Apr 2018, 13:03    Post subject: Idea for alternative Woof(ish) GUI  

Example of an alternative Woof UI:



Based on buildroot ...

Code:

Code:
#!/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

_________________
Akita Linux, VLC-GTK, Pup Search, Pup File Search
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 6 of 6 [82 Posts]   Goto page: Previous 1, 2, 3, 4, 5, 6
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Taking the Puppy out for a walk » Suggestions
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0868s ][ Queries: 15 (0.0197s) ][ GZIP on ]