Results 1 to 10 of 10

Thread: New PET - LFS, software management

  1. #1
    Guest

    New PET - LFS, software management

    http://www.linuxjunior.org/cgi-bin/p...play&id=44

    Enjoy it, and btw. this applies to installation of all source, not just on LFS - but it's most useful when running LFS

  2. #2
    Guest

    Re: New PET - LFS, software management

    very nice

  3. #3
    Guest

    Re: New PET - LFS, software management


    very nice
    Thank you my good (but high) man - I kinda took over as LFS high priest while you were gone

  4. #4
    Moderator
    Advisor
    redhead's Avatar
    Join Date
    Jun 2001
    Location
    Copenhagen, Denmark
    Posts
    811

    Re: New PET - LFS, software management

    Hmmm.. I was wondering.. Shouldn't the script have a:
    Code:
    ...
    if [ $UID -eq "0" ] 
    then 
    if [ -f /var/install/$1 ]
    then
    echo "Removing $1..." 
    echo "Uninstalling $1..." > /var/uninstall/$1 
    ....
    else
    echo "Sorry, but $0 never installed a program named $1"
    exit
    fi
    .....
    And welcome back Ralinx.

  5. #5
    Guest

    Re: New PET - LFS, software management


    Hmmm.. I was wondering.. Shouldn't the script have a:
    Code:
    ...
    if [ $UID -eq "0" ] 
    then 
    if [ -f /var/install/$1 ]
    then
    echo "Removing $1..." 
    echo "Uninstalling $1..." > /var/uninstall/$1 
    ....
    else
    echo "Sorry, but $0 never installed a program named $1"
    exit
    fi
    .....
    yea it would be good to add that
    when i wrote it i just wanted something really simple that worked and i didn't pay attention to details like that because the one who would be using it (me) knows what he's trying to uninstall

    And welcome back Ralinx.
    thx

  6. #6

    Re: New PET - LFS, software management

    Hmmmm, I compiled ftrace just fine, but it doesn't do anything. I did the "ftrace -i /var/install/programname make install" to install something, and the make install got executed just fine, but nothing was created in /var/install.

    Any ideas?

  7. #7
    Guest

    Re: New PET - LFS, software management

    yea u didn't change the group of make to root like the PET said
    i guess a RTFM would be in order

  8. #8
    Guest

    Re: New PET - LFS, software management

    Ralinx, when I reinstalled LFS I stumbled upon this problem, when copy pasting the script from the PET it fails to execute, could you check if I forgot a line or something ?

    Says to me, error in line (last line)

  9. #9
    Guest

    Re: New PET - LFS, software management

    yea it looks like u didn't copy my entire script into ur PET cuz the last line of the script in ur PET is inside a IF structure, so that needs to be closed by 'fi'

  10. #10
    Guest

    Re: New PET - LFS, software management


    yea it looks like u didn't copy my entire script into ur PET cuz the last line of the script in ur PET is inside a IF structure, so that needs to be closed by 'fi'
    Fixed...

Similar Threads

  1. LFS software management
    By peter in forum Tutorials
    Replies: 0
    Last Post: 11-24-2008, 01:21 AM
  2. mp3 management
    By gmoreno in forum Linux - Software, Applications & Programming
    Replies: 11
    Last Post: 09-29-2005, 01:09 AM
  3. LFS software management
    By gmoreno in forum Linux - Software, Applications & Programming
    Replies: 5
    Last Post: 07-29-2004, 06:28 PM
  4. Network management software
    By Blaqb0x in forum Linux - Hardware, Networking & Security
    Replies: 5
    Last Post: 10-31-2002, 01:00 AM
  5. Thermal Management Software for Linux
    By Donut in forum Linux - Software, Applications & Programming
    Replies: 1
    Last Post: 01-02-2002, 01:03 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •