Skip to content

gnubyexample/debian_version

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

debian_version-wheezy.py
-------------------------
Takes the [saved] output of dpkg --get-selections
and reports 'wheezy' or 'squeeze'
as best guess of the installed system.


for s in $(ls *.get-selections);do cat $s | python /tmp/debian_version-wheezy.py;done
squeeze (guesswork!!!)... based on score_new_old=-1
wheezy... based on score_new_old=3
wheezy... based on score_new_old=5
wheezy... based on score_new_old=5
wheezy... based on score_new_old=5
squeeze (guesswork!!!)... based on score_new_old=-1
squeeze (guesswork!!!)... based on score_new_old=-1
squeeze (guesswork!!!)... based on score_new_old=-1
squeeze (guesswork!!!)... based on score_new_old=-1
squeeze (guesswork!!!)... based on score_new_old=-1
squeeze (guesswork!!!)... based on score_new_old=-1

About

Takes the [saved] output of dpkg --get-selections and reports debian version

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages