# S 15 com.nokia.maemo H 40 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx R 5 abcde
# Source (might change) hash (sha1) relative path
if '/DEBIAN/' in filePath:
- relativepath = 'var/lib/dpkg/info/{0}.{1}'.format(packageName, filePath[17+len(packageName):])
+ relativepath = 'var/lib/dpkg/info/{0}.{1}'.format(packageName, filePath[15+len(packageName):])
else:
relativepath = filePath[8+len(packageName):]
if check_file(join(path,filename)):
digsigsums.write(hash_file(join(path,filename), packageName))
- digsigsums.close()
\ No newline at end of file
+ digsigsums.close()